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

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

FromSql impls

Trait Implementations

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]

type Row = Option<T::Row>

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

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

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

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

type Expression = Coerce<now, Nullable<Timestamp>>

The expression being returned

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

type Expression = Coerce<now, Nullable<Timestamptz>>

The expression being returned

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

type Expression = Bound<Nullable<Array<ST>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Array<ST>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Array<ST>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Array<ST>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Array<ST>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Interval>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Interval>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Interval>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Numeric>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Numeric>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Numeric>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Json>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Json>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Json>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Jsonb>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Jsonb>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Jsonb>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Money>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Money>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Money>, Self>

The expression being returned

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

type Expression = Bound<Nullable<MacAddr>, Self>

The expression being returned

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

type Expression = Bound<Nullable<MacAddr>, Self>

The expression being returned

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

type Expression = Bound<Nullable<MacAddr>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Inet>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Inet>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Inet>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Cidr>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Cidr>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Cidr>, Self>

The expression being returned

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

type Expression = SqlBound<Nullable<Range<ST>>, Self>

The expression being returned

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

type Expression = SqlBound<Nullable<Range<ST>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Uuid>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Uuid>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Uuid>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Datetime>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Datetime>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Datetime>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamptz>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Numeric>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Numeric>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Numeric>, Self>

The expression being returned

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

type Expression = Bound<Nullable<ST>, Self>

The expression being returned

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

type Expression = Bound<Nullable<ST>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Bool>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Bool>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Bool>, Self>

The expression being returned

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

type Expression = Bound<Nullable<TinyInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<TinyInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<TinyInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<SmallInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<SmallInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<SmallInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Integer>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Integer>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Integer>, Self>

The expression being returned

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

type Expression = Bound<Nullable<BigInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<BigInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<BigInt>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<TinyInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<TinyInt>>, Self>

The expression being returned

impl AsExpression<Nullable<Unsigned<TinyInt>>> for u8[src]

type Expression = Bound<Nullable<Unsigned<TinyInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<SmallInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<SmallInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<SmallInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<Integer>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<Integer>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<Integer>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Oid>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Oid>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Oid>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<BigInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<BigInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Unsigned<BigInt>>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Float>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Float>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Float>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Double>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Double>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Double>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Text>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Text>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Text>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Text>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Text>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Date>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Timestamp>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Binary>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Binary>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Binary>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Binary>, Self>

The expression being returned

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

type Expression = Bound<Nullable<Binary>, Self>

The expression being returned

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

type QueryId = T::QueryId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type Sum = T::Sum

The SQL type of sum(this_type)

type Avg = T::Avg

The SQL type of avg(this_type)

impl<T> Add for Nullable<T> where
    T: Add + NotNull,
    T::Rhs: NotNull,
    T::Output: NotNull
[src]

type Rhs = Nullable<T::Rhs>

The SQL type which can be added to this one

type Output = Nullable<T::Output>

The SQL type of the result of adding Rhs to Self

impl<T> Sub for Nullable<T> where
    T: Sub + NotNull,
    T::Rhs: NotNull,
    T::Output: NotNull
[src]

type Rhs = Nullable<T::Rhs>

The SQL type which can be subtracted from this one

type Output = Nullable<T::Output>

The SQL type of the result of subtracting Rhs from Self

impl<T> Mul for Nullable<T> where
    T: Mul + NotNull,
    T::Rhs: NotNull,
    T::Output: NotNull
[src]

type Rhs = Nullable<T::Rhs>

The SQL type which this can be multiplied by

type Output = Nullable<T::Output>

The SQL type of the result of multiplying Self by Rhs

impl<T> Div for Nullable<T> where
    T: Div + NotNull,
    T::Rhs: NotNull,
    T::Output: NotNull
[src]

type Rhs = Nullable<T::Rhs>

The SQL type which this one can be divided by

type Output = Nullable<T::Output>

The SQL type of the result of dividing Self by Rhs

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

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

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

type Nullable = Nullable<T>

The nullable representation of this type. Read more

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> IntoSql for T[src]

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

type Nullable = Nullable<T>

The nullable representation of this type. Read more

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

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

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

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