[−][src]Struct diesel::query_builder::bind_collector::RawBytesBindCollector
A bind collector used by backends which transmit bind parameters as an opaque blob of bytes.
For most backends, this is the concrete implementation of BindCollector
that should be used.
Fields
metadata: Vec<DB::TypeMetadata>
The metadata associated with each bind parameter.
This vec is guaranteed to be the same length as binds
.
binds: Vec<Option<Vec<u8>>>
The serialized bytes for each bind parameter.
This vec is guaranteed to be the same length as metadata
.
Methods
impl<DB: Backend + TypeMetadata> RawBytesBindCollector<DB>
[src]
Trait Implementations
impl<DB: Backend + TypeMetadata> BindCollector<DB> for RawBytesBindCollector<DB>
[src]
fn push_bound_value<T, U>(
&mut self,
bind: &U,
metadata_lookup: &DB::MetadataLookup
) -> QueryResult<()> where
DB: HasSqlType<T>,
U: ToSql<T, DB>,
[src]
&mut self,
bind: &U,
metadata_lookup: &DB::MetadataLookup
) -> QueryResult<()> where
DB: HasSqlType<T>,
U: ToSql<T, DB>,
impl<DB: Debug + Backend + TypeMetadata> Debug for RawBytesBindCollector<DB> where
DB::TypeMetadata: Debug,
[src]
DB::TypeMetadata: Debug,
Auto Trait Implementations
impl<DB> Unpin for RawBytesBindCollector<DB> where
<DB as TypeMetadata>::TypeMetadata: Unpin,
<DB as TypeMetadata>::TypeMetadata: Unpin,
impl<DB> Sync for RawBytesBindCollector<DB> where
<DB as TypeMetadata>::TypeMetadata: Sync,
<DB as TypeMetadata>::TypeMetadata: Sync,
impl<DB> Send for RawBytesBindCollector<DB> where
<DB as TypeMetadata>::TypeMetadata: Send,
<DB as TypeMetadata>::TypeMetadata: Send,
impl<DB> UnwindSafe for RawBytesBindCollector<DB> where
<DB as TypeMetadata>::TypeMetadata: UnwindSafe,
<DB as TypeMetadata>::TypeMetadata: UnwindSafe,
impl<DB> RefUnwindSafe for RawBytesBindCollector<DB> where
<DB as TypeMetadata>::TypeMetadata: RefUnwindSafe,
<DB as TypeMetadata>::TypeMetadata: RefUnwindSafe,
Blanket Implementations
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
[src]
Self: AsExpression<T> + Sized,
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel's query builder. Read more
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,