Struct diesel::sql_types::Binary [−][src]
pub struct Binary;
Expand description
The binary SQL type.
Schema inference will treat all variants of BLOB
as this type (e.g.
VARBINARY
, MEDIUMBLOB
, etc).
ToSql
impls
FromSql
impls
Trait Implementations
type Expression = Bound<Binary, Self>
type Expression = Bound<Binary, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Binary, Self>
type Expression = Bound<Binary, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Binary, Self>
type Expression = Bound<Binary, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Binary, Self>
type Expression = Bound<Binary, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Binary, Self>
type Expression = Bound<Binary, Self>
The expression being returned
Perform the conversion
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of Vec<u8>
, but don’t want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of Vec<u8>
, but don’t want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Can the SQL generated by Self
be uniquely identified by its type? Read more
Auto Trait Implementations
impl RefUnwindSafe for Binary
impl UnwindSafe for Binary
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more