Struct diesel::sql_types::Bool [−][src]
pub struct Bool;
Expand description
The boolean SQL type.
On backends without a native boolean type, this is emulated with the smallest supported integer.
ToSql impls
FromSql impls
Trait Implementations
type Expression = Bound<Bool, Self>
type Expression = Bound<Bool, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Bool, Self>
type Expression = Bound<Bool, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Bool, Self>
type Expression = Bound<Bool, Self>
The expression being returned
Perform the conversion
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 Bool
impl UnwindSafe for Bool
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self to an expression for Diesel’s query builder. Read more