[][src]Struct diesel::sql_types::Bool

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 FromSql<Bool, Sqlite> for bool
[src]

impl<'expr> AsExpression<Bool> for &'expr bool
[src]

The expression being returned

impl<'expr2, 'expr> AsExpression<Bool> for &'expr2 &'expr bool
[src]

The expression being returned

impl AsExpression<Bool> for bool
[src]

The expression being returned

impl QueryId for Bool
[src]

A type which uniquely represents Self in a SQL query. Read more

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl ToSql<Bool, Sqlite> for bool
[src]

impl HasSqlType<Bool> for Sqlite
[src]

impl NotNull for Bool
[src]

impl SingleValue for Bool
[src]

impl Default for Bool
[src]

impl Clone for Bool
[src]

Performs copy-assignment from source. Read more

impl Copy for Bool
[src]

impl Debug for Bool
[src]

Auto Trait Implementations

impl Send for Bool

impl Sync for Bool

Blanket Implementations

impl<T> IntoSql for T
[src]

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more

impl<T> IntoNullable for T where
    T: NotNull
[src]

The nullable representation of this type. Read more

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]