Struct diesel::sql_types::Nullable [] [src]

pub struct Nullable<ST: NotNull>(_);

The nullable SQL type.

This wraps another SQL type to indicate that it can be null. By default all values are assumed to be NOT NULL.

ToSql impls

  • Any T which implements ToSql<ST>
  • Option<T> for any T which implements ToSql<ST>

FromSql impls

  • Option<T> for any T which implements FromSql<ST>

Trait Implementations

impl AsExpression<Nullable<Timestamptz>> for now
[src]

The expression being returned

[src]

Perform the conversion

impl Add for Nullable<SmallInt>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<SmallInt>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Nullable<SmallInt>
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Nullable<SmallInt>
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl Add for Nullable<Integer>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<Integer>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Nullable<Integer>
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Nullable<Integer>
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl Add for Nullable<BigInt>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<BigInt>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Nullable<BigInt>
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Nullable<BigInt>
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl Add for Nullable<Float>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<Float>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Nullable<Float>
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Nullable<Float>
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl Add for Nullable<Double>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<Double>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Nullable<Double>
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Nullable<Double>
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl Add for Nullable<Numeric>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<Numeric>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Nullable<Numeric>
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Nullable<Numeric>
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl Add for Nullable<Time>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<Time>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Add for Nullable<Date>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<Date>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Add for Nullable<Timestamp>
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Nullable<Timestamp>
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl<T: SqlOrd + NotNull> SqlOrd for Nullable<T>
[src]

impl<T> Foldable for Nullable<T> where
    T: Foldable + NotNull
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

impl<ST: Debug + NotNull> Debug for Nullable<ST>
[src]

[src]

Formats the value using the given formatter. Read more

impl<ST: Clone + NotNull> Clone for Nullable<ST>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ST: Copy + NotNull> Copy for Nullable<ST>
[src]

impl<ST: Default + NotNull> Default for Nullable<ST>
[src]

[src]

Returns the "default value" for a type. Read more

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

The nullable representation of this type. Read more

impl<T: NotNull + SingleValue> SingleValue for Nullable<T>
[src]

impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a [T]
[src]

The expression being returned

[src]

Perform the conversion

impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a &'b [T]
[src]

The expression being returned

[src]

Perform the conversion

impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for Vec<T>
[src]

The expression being returned

[src]

Perform the conversion

impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a Vec<T>
[src]

The expression being returned

[src]

Perform the conversion

impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a &'b Vec<T>
[src]

The expression being returned

[src]

Perform the conversion

impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for [T] where
    [T]: ToSql<Array<ST>, Pg>, 
[src]

[src]

See the trait documentation.

impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for Vec<T> where
    Vec<T>: ToSql<Array<ST>, Pg>, 
[src]

[src]

See the trait documentation.

impl<ST, T> AsExpression<Nullable<Range<ST>>> for (Bound<T>, Bound<T>)
[src]

The expression being returned

[src]

Perform the conversion

impl<'a, ST, T> AsExpression<Nullable<Range<ST>>> for &'a (Bound<T>, Bound<T>)
[src]

The expression being returned

[src]

Perform the conversion

impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for (Bound<T>, Bound<T>) where
    (Bound<T>, Bound<T>): ToSql<Range<ST>, Pg>, 
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr Timespec
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr Timespec
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for Timespec where
    __DB: Backend,
    Self: ToSql<Timestamp, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Timestamp>> for Timespec
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for PgTimestamp where
    __DB: Backend,
    Self: ToSql<Timestamp, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Timestamp>> for PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for PgTimestamp where
    __DB: Backend,
    Self: ToSql<Timestamptz, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Timestamptz>> for PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Date>> for &'expr PgDate
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr PgDate
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Date>, __DB> for PgDate where
    __DB: Backend,
    Self: ToSql<Date, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Date>> for PgDate
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Time>> for &'expr PgTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr PgTime
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Time>, __DB> for PgTime where
    __DB: Backend,
    Self: ToSql<Time, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Time>> for PgTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Interval>> for &'expr PgInterval
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Interval>> for &'expr2 &'expr PgInterval
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Interval>, __DB> for PgInterval where
    __DB: Backend,
    Self: ToSql<Interval, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Interval>> for PgInterval
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Numeric>> for &'expr PgNumeric
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr PgNumeric
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Numeric>, __DB> for PgNumeric where
    __DB: Backend,
    Self: ToSql<Numeric, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Numeric>> for PgNumeric
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<MacAddr>> for &'expr [u8; 6]
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<MacAddr>> for &'expr2 &'expr [u8; 6]
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<MacAddr>, __DB> for [u8; 6] where
    __DB: Backend,
    Self: ToSql<MacAddr, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<MacAddr>> for [u8; 6]
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Inet>> for &'expr IpNetwork
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Inet>> for &'expr2 &'expr IpNetwork
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Inet>, __DB> for IpNetwork where
    __DB: Backend,
    Self: ToSql<Inet, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Inet>> for IpNetwork
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Cidr>> for &'expr IpNetwork
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Cidr>> for &'expr2 &'expr IpNetwork
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Cidr>, __DB> for IpNetwork where
    __DB: Backend,
    Self: ToSql<Cidr, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Cidr>> for IpNetwork
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Uuid>> for &'expr Uuid
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Uuid>> for &'expr2 &'expr Uuid
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Uuid>, __DB> for Uuid where
    __DB: Backend,
    Self: ToSql<Uuid, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Uuid>> for Uuid
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Json>> for &'expr Value
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Json>> for &'expr2 &'expr Value
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Json>, __DB> for Value where
    __DB: Backend,
    Self: ToSql<Json, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Json>> for Value
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Jsonb>> for &'expr Value
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Jsonb>> for &'expr2 &'expr Value
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Jsonb>, __DB> for Value where
    __DB: Backend,
    Self: ToSql<Jsonb, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Jsonb>> for Value
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Money>> for &'expr PgMoney
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Money>> for &'expr2 &'expr PgMoney
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Money>, __DB> for PgMoney where
    __DB: Backend,
    Self: ToSql<Money, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Money>> for PgMoney
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr SystemTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr SystemTime
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for SystemTime where
    __DB: Backend,
    Self: ToSql<Timestamp, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Timestamp>> for SystemTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr NaiveDate
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Date>, __DB> for NaiveDate where
    __DB: Backend,
    Self: ToSql<Date, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Date>> for NaiveDate
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr NaiveTime
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Time>, __DB> for NaiveTime where
    __DB: Backend,
    Self: ToSql<Time, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Time>> for NaiveTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for NaiveDateTime where
    __DB: Backend,
    Self: ToSql<Timestamp, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Timestamp>> for NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for NaiveDateTime where
    __DB: Backend,
    Self: ToSql<Timestamptz, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Timestamptz>> for NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Datetime>> for &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Datetime>, __DB> for NaiveDateTime where
    __DB: Backend,
    Self: ToSql<Datetime, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Datetime>> for NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr DateTime<Tz>
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr DateTime<Tz>
[src]

The expression being returned

[src]

Perform the conversion

impl<Tz: TimeZone, __DB> ToSql<Nullable<Timestamptz>, __DB> for DateTime<Tz> where
    __DB: Backend,
    Self: ToSql<Timestamptz, __DB>, 
[src]

[src]

See the trait documentation.

impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>
[src]

The expression being returned

[src]

Perform the conversion

impl<T, DB> HasSqlType<Nullable<T>> for DB where
    DB: Backend + HasSqlType<T>,
    T: NotNull
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl<T> QueryId for Nullable<T> where
    T: QueryId + NotNull
[src]

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

HAS_STATIC_QUERY_ID: bool = <T>::HAS_STATIC_QUERY_ID

Can the SQL generated by Self be uniquely identified by its type? Read more

[src]

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

impl<T, ST, DB> FromSql<Nullable<ST>, DB> for Option<T> where
    T: FromSql<ST, DB>,
    DB: Backend,
    ST: NotNull
[src]

[src]

See the trait documentation.

impl<T, ST, DB> Queryable<Nullable<ST>, DB> for Option<T> where
    T: Queryable<ST, DB>,
    DB: Backend,
    Option<T::Row>: FromSqlRow<Nullable<ST>, DB>,
    ST: NotNull
[src]

The Rust type you'd like to map from. Read more

[src]

Construct an instance of this type

impl<T, ST, DB> FromSqlRow<Nullable<ST>, DB> for Option<T> where
    T: FromSqlRow<ST, DB>,
    DB: Backend,
    ST: NotNull
[src]

FIELDS_NEEDED: usize = <T>::FIELDS_NEEDED

The number of fields that this type will consume. Must be equal to the number of times you would call row.take() in build_from_row Read more

[src]

See the trait documentation.

impl<T, ST, DB> ToSql<Nullable<ST>, DB> for Option<T> where
    T: ToSql<ST, DB>,
    DB: Backend,
    ST: NotNull
[src]

[src]

See the trait documentation.

impl<T, ST> AsExpression<Nullable<ST>> for Option<T> where
    ST: NotNull
[src]

The expression being returned

[src]

Perform the conversion

impl<'a, T, ST> AsExpression<Nullable<ST>> for &'a Option<T> where
    ST: NotNull
[src]

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Bool>, __DB> for bool where
    __DB: Backend,
    Self: ToSql<Bool, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Bool>> for bool
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Tinyint>> for &'expr i8
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Tinyint>> for &'expr2 &'expr i8
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Tinyint>, __DB> for i8 where
    __DB: Backend,
    Self: ToSql<Tinyint, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Tinyint>> for i8
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr i16
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<SmallInt>> for &'expr2 &'expr i16
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<SmallInt>, __DB> for i16 where
    __DB: Backend,
    Self: ToSql<SmallInt, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<SmallInt>> for i16
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Integer>> for &'expr i32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Integer>> for &'expr2 &'expr i32
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Integer>, __DB> for i32 where
    __DB: Backend,
    Self: ToSql<Integer, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Integer>> for i32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<BigInt>> for &'expr i64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<BigInt>> for &'expr2 &'expr i64
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<BigInt>, __DB> for i64 where
    __DB: Backend,
    Self: ToSql<BigInt, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<BigInt>> for i64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr u16
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr2 &'expr u16
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Unsigned<SmallInt>>, __DB> for u16 where
    __DB: Backend,
    Self: ToSql<Unsigned<SmallInt>, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Unsigned<SmallInt>>> for u16
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr u32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr2 &'expr u32
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Unsigned<Integer>>, __DB> for u32 where
    __DB: Backend,
    Self: ToSql<Unsigned<Integer>, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Unsigned<Integer>>> for u32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Oid>> for &'expr u32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Oid>> for &'expr2 &'expr u32
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Oid>, __DB> for u32 where
    __DB: Backend,
    Self: ToSql<Oid, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Oid>> for u32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr u64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr2 &'expr u64
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Unsigned<BigInt>>, __DB> for u64 where
    __DB: Backend,
    Self: ToSql<Unsigned<BigInt>, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Unsigned<BigInt>>> for u64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Float>> for &'expr f32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Float>> for &'expr2 &'expr f32
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Float>, __DB> for f32 where
    __DB: Backend,
    Self: ToSql<Float, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Float>> for f32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Double>> for &'expr f64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Double>> for &'expr2 &'expr f64
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Double>, __DB> for f64 where
    __DB: Backend,
    Self: ToSql<Double, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Double>> for f64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Text>> for &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Text>, __DB> for String where
    __DB: Backend,
    Self: ToSql<Text, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Text>> for String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Date>> for &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Date>, __DB> for String where
    __DB: Backend,
    Self: ToSql<Date, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Date>> for String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Time>> for &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Time>, __DB> for String where
    __DB: Backend,
    Self: ToSql<Time, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Time>> for String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for String where
    __DB: Backend,
    Self: ToSql<Timestamp, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Timestamp>> for String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Text>> for &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Text>, __DB> for str where
    __DB: Backend,
    Self: ToSql<Text, __DB>, 
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Nullable<Date>> for &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Date>, __DB> for str where
    __DB: Backend,
    Self: ToSql<Date, __DB>, 
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Nullable<Time>> for &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Time>, __DB> for str where
    __DB: Backend,
    Self: ToSql<Time, __DB>, 
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for str where
    __DB: Backend,
    Self: ToSql<Timestamp, __DB>, 
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Nullable<Binary>> for &'expr Vec<u8>
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr Vec<u8>
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Binary>, __DB> for Vec<u8> where
    __DB: Backend,
    Self: ToSql<Binary, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Binary>> for Vec<u8>
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Nullable<Binary>> for &'expr [u8]
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr [u8]
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Binary>, __DB> for [u8] where
    __DB: Backend,
    Self: ToSql<Binary, __DB>, 
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Nullable<Numeric>> for &'expr BigDecimal
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr BigDecimal
[src]

The expression being returned

[src]

Perform the conversion

impl<__DB> ToSql<Nullable<Numeric>, __DB> for BigDecimal where
    __DB: Backend,
    Self: ToSql<Numeric, __DB>, 
[src]

[src]

See the trait documentation.

impl AsExpression<Nullable<Numeric>> for BigDecimal
[src]

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl<ST> Send for Nullable<ST> where
    ST: Send

impl<ST> Sync for Nullable<ST> where
    ST: Sync