[−][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> Send for RawBytesBindCollector<DB> where
<DB as TypeMetadata>::TypeMetadata: Send,
<DB as TypeMetadata>::TypeMetadata: Send,
impl<DB> Sync for RawBytesBindCollector<DB> where
<DB as TypeMetadata>::TypeMetadata: Sync,
<DB as TypeMetadata>::TypeMetadata: Sync,
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, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,