Struct diesel::types::Bool
[−]
[src]
pub struct Bool;
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
impl QueryId for Bool
[src]
type QueryId = Self
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self
be uniquely identified by its type? Read more
fn query_id() -> Option<TypeId>
[src]
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
impl NotNull for Bool
[src]
impl SingleValue for Bool
[src]
impl Debug for Bool
[src]
impl Clone for Bool
[src]
fn clone(&self) -> Bool
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more