Struct diesel::sql_types::Nullable

source ·
pub struct Nullable<ST>(/* private fields */);
Expand description

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§

source§

impl<T> Add for Nullable<T>
where T: Add + SqlType<IsNull = NotNull>, T::Rhs: SqlType<IsNull = NotNull>, T::Output: SqlType<IsNull = NotNull>,

§

type Rhs = Nullable<<T as Add>::Rhs>

The SQL type which can be added to this one
§

type Output = Nullable<<T as Add>::Output>

The SQL type of the result of adding Rhs to Self
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Array<ST>>, &'a &'b [T]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for &'a &'b Vec<T>

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Array<ST>>, &'a &'b Vec<T>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Array<ST>>, &'a [T]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for &'a Vec<T>

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Array<ST>>, &'a Vec<T>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for Vec<T>

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Array<ST>>, Vec<T>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<BigInt>, &'expr2 &'expr i64>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<BigInt>> for &'expr i64

§

type Expression = Bound<Nullable<BigInt>, &'expr i64>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<BigInt>> for i64

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Binary>, &'expr2 &'expr [u8]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Binary>, &'expr2 &'expr Vec<u8>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Binary>, &'expr [u8]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Binary>, &'expr Vec<u8>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Binary>> for Vec<u8>

§

type Expression = Bound<Nullable<Binary>, Vec<u8>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Bool>, &'expr2 &'expr bool>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Bool>> for &'expr bool

§

type Expression = Bound<Nullable<Bool>, &'expr bool>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Bool>> for bool

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<CChar>> for &'expr2 &'expr u8

§

type Expression = Bound<Nullable<CChar>, &'expr2 &'expr u8>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<CChar>> for &'expr u8

§

type Expression = Bound<Nullable<CChar>, &'expr u8>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<CChar>> for u8

§

type Expression = Bound<Nullable<CChar>, u8>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Cidr>> for &'expr2 &'expr IpNet

Available on crate features ipnet-address and postgres_backend only.
§

type Expression = Bound<Nullable<Cidr>, &'expr2 &'expr IpNet>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate features network-address and postgres_backend only.
§

type Expression = Bound<Nullable<Cidr>, &'expr2 &'expr IpNetwork>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Cidr>> for &'expr IpNet

Available on crate features ipnet-address and postgres_backend only.
§

type Expression = Bound<Nullable<Cidr>, &'expr IpNet>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Cidr>> for &'expr IpNetwork

Available on crate features network-address and postgres_backend only.
§

type Expression = Bound<Nullable<Cidr>, &'expr IpNetwork>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Cidr>> for IpNet

Available on crate features ipnet-address and postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Cidr>> for IpNetwork

Available on crate features network-address and postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature time only.
§

type Expression = Bound<Nullable<Date>, &'expr2 &'expr Date>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Date>, &'expr2 &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Date>, &'expr2 &'expr NaiveDate>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Date>, &'expr2 &'expr PgDate>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Date>, &'expr2 &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Date>, &'expr2 &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate

Available on crate feature time only.
§

type Expression = Bound<Nullable<Date>, &'expr Date>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Date>> for &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Date>, &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Date>, &'expr NaiveDate>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Date>> for &'expr PgDate

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Date>, &'expr PgDate>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Date>> for &'expr String

§

type Expression = Bound<Nullable<Date>, &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Date>> for &'expr str

§

type Expression = Bound<Nullable<Date>, &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Date>> for NaiveDate

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Date>> for MysqlTime

Available on crate feature mysql_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Date>> for NaiveDate

Available on crate feature chrono only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Date>> for PgDate

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Date>> for String

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Date>> for today

§

type Expression = Coerce<today, Nullable<Date>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr NaiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr OffsetDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr OffsetDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr PrimitiveDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr PrimitiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Datetime>> for &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Datetime>, &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Datetime>> for &'expr NaiveDateTime

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Datetime>, &'expr NaiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Datetime>> for &'expr OffsetDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Datetime>, &'expr OffsetDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Datetime>> for &'expr PrimitiveDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Datetime>, &'expr PrimitiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Datetime>> for MysqlTime

Available on crate feature mysql_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Datetime>> for NaiveDateTime

Available on crate feature chrono only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Datetime>> for OffsetDateTime

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Datetime>> for PrimitiveDateTime

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Double>, &'expr2 &'expr f64>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Double>> for &'expr f64

§

type Expression = Bound<Nullable<Double>, &'expr f64>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Double>> for f64

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Float>, &'expr2 &'expr f32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Float>> for &'expr f32

§

type Expression = Bound<Nullable<Float>, &'expr f32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Float>> for f32

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Inet>> for &'expr2 &'expr IpNet

Available on crate features ipnet-address and postgres_backend only.
§

type Expression = Bound<Nullable<Inet>, &'expr2 &'expr IpNet>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate features network-address and postgres_backend only.
§

type Expression = Bound<Nullable<Inet>, &'expr2 &'expr IpNetwork>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Inet>> for &'expr IpNet

Available on crate features ipnet-address and postgres_backend only.
§

type Expression = Bound<Nullable<Inet>, &'expr IpNet>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Inet>> for &'expr IpNetwork

Available on crate features network-address and postgres_backend only.
§

type Expression = Bound<Nullable<Inet>, &'expr IpNetwork>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Inet>> for IpNet

Available on crate features ipnet-address and postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Inet>> for IpNetwork

Available on crate features network-address and postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Integer>, &'expr2 &'expr i32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Integer>> for &'expr i32

§

type Expression = Bound<Nullable<Integer>, &'expr i32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Integer>> for i32

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Interval>, &'expr2 &'expr PgInterval>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Interval>> for &'expr PgInterval

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Interval>, &'expr PgInterval>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Interval>> for PgInterval

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
§

type Expression = Bound<Nullable<Json>, &'expr2 &'expr Value>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Json>> for &'expr Value

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
§

type Expression = Bound<Nullable<Json>, &'expr Value>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Json>> for Value

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
§

type Expression = Bound<Nullable<Jsonb>, &'expr2 &'expr Value>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Jsonb>> for &'expr Value

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
§

type Expression = Bound<Nullable<Jsonb>, &'expr Value>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Jsonb>> for Value

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<MacAddr>, &'expr2 &'expr [u8; 6]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<MacAddr>, &'expr [u8; 6]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<MacAddr>, [u8; 6]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Money>, &'expr2 &'expr PgMoney>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Money>> for &'expr PgMoney

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Money>, &'expr PgMoney>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Money>> for PgMoney

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature bigdecimal only.
§

type Expression = Bound<Nullable<Numeric>, &'expr2 &'expr BigDecimal>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Numeric>, &'expr2 &'expr PgNumeric>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Numeric>> for &'expr BigDecimal

Available on crate feature bigdecimal only.
§

type Expression = Bound<Nullable<Numeric>, &'expr BigDecimal>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Numeric>> for &'expr PgNumeric

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Numeric>, &'expr PgNumeric>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Numeric>> for BigDecimal

Available on crate feature bigdecimal only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Numeric>> for PgNumeric

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Oid>, &'expr2 &'expr u32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Oid>> for &'expr u32

§

type Expression = Bound<Nullable<Oid>, &'expr u32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Oid>> for u32

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for &'a (Bound<T>, Bound<T>)

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Range<ST>>, &'a (Bound<T>, Bound<T>)>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<ST: 'static, T> AsExpression<Nullable<Range<ST>>> for (Bound<T>, Bound<T>)

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Range<ST>>, (Bound<T>, Bound<T>)>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'a, T, ST> AsExpression<Nullable<ST>> for &'a Option<T>
where ST: SqlType<IsNull = NotNull>, Nullable<ST>: TypedExpressionType,

§

type Expression = Bound<Nullable<ST>, &'a Option<T>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<T, ST> AsExpression<Nullable<ST>> for Option<T>
where ST: SqlType<IsNull = NotNull>, Nullable<ST>: TypedExpressionType,

§

type Expression = Bound<Nullable<ST>, Option<T>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<SmallInt>, &'expr2 &'expr i16>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr i16

§

type Expression = Bound<Nullable<SmallInt>, &'expr i16>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<SmallInt>> for i16

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr, 'a> AsExpression<Nullable<Text>> for &'expr2 &'expr MigrationVersion<'a>

§

type Expression = Bound<Nullable<Text>, &'expr2 &'expr MigrationVersion<'a>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Text>, &'expr2 &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Text>, &'expr2 &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr, 'a> AsExpression<Nullable<Text>> for &'expr MigrationVersion<'a>

§

type Expression = Bound<Nullable<Text>, &'expr MigrationVersion<'a>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Text>> for &'expr String

§

type Expression = Bound<Nullable<Text>, &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Text>> for &'expr str

§

type Expression = Bound<Nullable<Text>, &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'a> AsExpression<Nullable<Text>> for MigrationVersion<'a>

§

type Expression = Bound<Nullable<Text>, MigrationVersion<'a>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Text>> for String

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Time>, &'expr2 &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Time>, &'expr2 &'expr NaiveTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Time>, &'expr2 &'expr PgTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Time>, &'expr2 &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature time only.
§

type Expression = Bound<Nullable<Time>, &'expr2 &'expr Time>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Time>, &'expr2 &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Time>> for &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Time>, &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Time>, &'expr NaiveTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Time>> for &'expr PgTime

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Time>, &'expr PgTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Time>> for &'expr String

§

type Expression = Bound<Nullable<Time>, &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Time>, &'expr Time>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Time>> for &'expr str

§

type Expression = Bound<Nullable<Time>, &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Time>> for MysqlTime

Available on crate feature mysql_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Time>> for NaiveTime

Available on crate feature chrono only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Time>> for PgTime

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Time>> for String

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Time>> for NaiveTime

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr NaiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr PgTimestamp>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr PrimitiveDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr PrimitiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr SystemTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr MysqlTime

Available on crate feature mysql_backend only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr MysqlTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr NaiveDateTime

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr NaiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PgTimestamp

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr PgTimestamp>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PrimitiveDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamp>, &'expr PrimitiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr String

§

type Expression = Bound<Nullable<Timestamp>, &'expr String>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr SystemTime

§

type Expression = Bound<Nullable<Timestamp>, &'expr SystemTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr str

§

type Expression = Bound<Nullable<Timestamp>, &'expr str>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamp>> for MysqlTime

Available on crate feature mysql_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamp>> for NaiveDateTime

Available on crate feature chrono only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamp>> for PgTimestamp

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamp>> for PrimitiveDateTime

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamp>> for String

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamp>> for SystemTime

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamp>> for now

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr DateTime<Tz>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr DateTime<Tz>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr NaiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr OffsetDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr OffsetDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr OffsetDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr OffsetDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr PgTimestamp>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr PrimitiveDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr PrimitiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr DateTime<Tz>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr DateTime<Tz>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr NaiveDateTime

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr NaiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr OffsetDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr OffsetDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr OffsetDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr OffsetDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PgTimestamp

Available on crate feature postgres_backend only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr PgTimestamp>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PrimitiveDateTime

Available on crate feature time only.
§

type Expression = Bound<Nullable<Timestamptz>, &'expr PrimitiveDateTime>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, DateTime<Tz>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>

Available on crate feature chrono only.
§

type Expression = Bound<Nullable<Timestamptz>, DateTime<Tz>>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamptz>> for NaiveDateTime

Available on crate feature chrono only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamptz>> for PgTimestamp

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamptz>> for PrimitiveDateTime

Available on crate feature time only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamptz>> for now

Available on crate feature postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Timestamptz>> for now

Available on crate feature sqlite only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<TinyInt>, &'expr2 &'expr i8>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<TinyInt>> for &'expr i8

§

type Expression = Bound<Nullable<TinyInt>, &'expr i8>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<TinyInt>> for i8

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<BigInt>>, &'expr2 &'expr u64>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<BigInt>>, &'expr u64>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Unsigned<BigInt>>> for u64

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<Integer>>, &'expr2 &'expr u32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<Integer>>, &'expr u32>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Unsigned<Integer>>> for u32

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<SmallInt>>, &'expr2 &'expr u16>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<SmallInt>>, &'expr u16>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Unsigned<SmallInt>>> for u16

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<TinyInt>>, &'expr2 &'expr u8>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

§

type Expression = Bound<Nullable<Unsigned<TinyInt>>, &'expr u8>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Unsigned<TinyInt>>> for u8

§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

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

Available on crate features uuid and postgres_backend only.
§

type Expression = Bound<Nullable<Uuid>, &'expr2 &'expr Uuid>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'expr> AsExpression<Nullable<Uuid>> for &'expr Uuid

Available on crate features uuid and postgres_backend only.
§

type Expression = Bound<Nullable<Uuid>, &'expr Uuid>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl AsExpression<Nullable<Uuid>> for Uuid

Available on crate features uuid and postgres_backend only.
§

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

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<ST: Clone> Clone for Nullable<ST>

source§

fn clone(&self) -> Nullable<ST>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<__T, ST0, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0,)>
where __DB: Backend, (ST0,): CompatibleType<__T, __DB>,

§

type SqlType = Nullable<<(ST0,) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1)>
where __DB: Backend, (ST0, ST1): CompatibleType<__T, __DB>,

§

type SqlType = Nullable<<(ST0, ST1) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2)>
where __DB: Backend, (ST0, ST1, ST2): CompatibleType<__T, __DB>,

§

type SqlType = Nullable<<(ST0, ST1, ST2) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3)>
where __DB: Backend, (ST0, ST1, ST2, ST3): CompatibleType<__T, __DB>,

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25)>

§

type SqlType = Nullable<<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25) as CompatibleType<__T, __DB>>::SqlType>

Available on crate feature i-implement-a-third-party-backend-and-opt-into-breaking-changes only.
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26)>

source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27)>

source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28)>

source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29)>

source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30)>

source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, ST31, __DB> CompatibleType<Option<__T>, __DB> for Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, ST31)>

source§

impl<ST: Debug> Debug for Nullable<ST>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<ST: Default> Default for Nullable<ST>

source§

fn default() -> Nullable<ST>

Returns the “default value” for a type. Read more
source§

impl<T> Div for Nullable<T>
where T: Div + SqlType<IsNull = NotNull>, T::Rhs: SqlType<IsNull = NotNull>, T::Output: SqlType<IsNull = NotNull>,

§

type Rhs = Nullable<<T as Div>::Rhs>

The SQL type which this one can be divided by
§

type Output = Nullable<<T as Div>::Output>

The SQL type of the result of dividing Self by Rhs
source§

impl<T> Foldable for Nullable<T>
where T: Foldable + SqlType<IsNull = NotNull>,

§

type Sum = <T as Foldable>::Sum

The SQL type of sum(this_type)
§

type Avg = <T as Foldable>::Avg

The SQL type of avg(this_type)
source§

impl<T, ST, DB> FromSql<Nullable<ST>, DB> for Option<T>
where T: FromSql<ST, DB>, DB: Backend, ST: SqlType<IsNull = NotNull>,

source§

fn from_sql(bytes: DB::RawValue<'_>) -> Result<Self>

See the trait documentation.
source§

fn from_nullable_sql(bytes: Option<DB::RawValue<'_>>) -> Result<Self>

A specialized variant of from_sql for handling null values. Read more
source§

impl<__T, ST0, __DB> FromStaticSqlRow<Nullable<(ST0,)>, __DB> for Option<__T>
where __DB: Backend, (ST0,): SqlType, __T: FromSqlRow<(ST0,), __DB>,

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, __DB> FromStaticSqlRow<Nullable<(ST0, ST1)>, __DB> for Option<__T>
where __DB: Backend, (ST0, ST1): SqlType, __T: FromSqlRow<(ST0, ST1), __DB>,

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<__T, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, ST31, __DB> FromStaticSqlRow<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, ST31)>, __DB> for Option<__T>

source§

fn build_from_row<'a>(row: &impl Row<'a, __DB>) -> Result<Self>

See the trait documentation
source§

impl<T> IntoNotNullable for Nullable<T>
where T: SqlType,

§

type NotNullable = T

The not nullable representation of this type. Read more
source§

impl<T> IntoNullable for Nullable<T>
where T: SqlType,

§

type Nullable = Nullable<T>

The nullable representation of this type. Read more
source§

impl<T> Mul for Nullable<T>
where T: Mul + SqlType<IsNull = NotNull>, T::Rhs: SqlType<IsNull = NotNull>, T::Output: SqlType<IsNull = NotNull>,

§

type Rhs = Nullable<<T as Mul>::Rhs>

The SQL type which this can be multiplied by
§

type Output = Nullable<<T as Mul>::Output>

The SQL type of the result of multiplying Self by Rhs
source§

impl<T> QueryId for Nullable<T>
where T: QueryId + SqlType<IsNull = NotNull>,

§

type QueryId = <T as QueryId>::QueryId

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

const HAS_STATIC_QUERY_ID: bool = T::HAS_STATIC_QUERY_ID

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

fn query_id() -> Option<TypeId>

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

impl<__T, __DB, ST0> Queryable<Nullable<(ST0,)>, __DB> for Option<__T>
where __DB: Backend, Self: FromStaticSqlRow<Nullable<(ST0,)>, __DB>, (ST0,): SqlType,

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1> Queryable<Nullable<(ST0, ST1)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2> Queryable<Nullable<(ST0, ST1, ST2)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3> Queryable<Nullable<(ST0, ST1, ST2, ST3)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<__T, __DB, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, ST31> Queryable<Nullable<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15, ST16, ST17, ST18, ST19, ST20, ST21, ST22, ST23, ST24, ST25, ST26, ST27, ST28, ST29, ST30, ST31)>, __DB> for Option<__T>

§

type Row = Option<__T>

The Rust type you’d like to map from. Read more
source§

fn build(row: Self::Row) -> Result<Self>

Construct an instance of this type
source§

impl<ST> SqlType for Nullable<ST>
where ST: SqlType,

§

type IsNull = IsNullable

Is this type nullable? Read more
source§

impl<T> Sub for Nullable<T>
where T: Sub + SqlType<IsNull = NotNull>, T::Rhs: SqlType<IsNull = NotNull>, T::Output: SqlType<IsNull = NotNull>,

§

type Rhs = Nullable<<T as Sub>::Rhs>

The SQL type which can be subtracted from this one
§

type Output = Nullable<<T as Sub>::Output>

The SQL type of the result of subtracting Rhs from Self
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, Pg>) -> Result

See the trait documentation.
source§

impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for Vec<T>
where ST: 'static, Vec<T>: ToSql<Array<ST>, Pg>,

Available on crate feature postgres_backend only.
source§

fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, Pg>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<CChar>, __DB> for u8
where __DB: Backend, Self: ToSql<CChar, __DB>,

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Cidr>, __DB> for IpNet
where __DB: Backend, Self: ToSql<Cidr, __DB>,

Available on crate features ipnet-address and postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate features network-address and postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Date>, __DB> for MysqlTime
where __DB: Backend, Self: ToSql<Date, __DB>,

Available on crate feature mysql_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature chrono only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Datetime>, __DB> for MysqlTime
where __DB: Backend, Self: ToSql<Datetime, __DB>,

Available on crate feature mysql_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature chrono only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Datetime>, __DB> for OffsetDateTime
where __DB: Backend, Self: ToSql<Datetime, __DB>,

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Datetime>, __DB> for PrimitiveDateTime
where __DB: Backend, Self: ToSql<Datetime, __DB>,

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Inet>, __DB> for IpNet
where __DB: Backend, Self: ToSql<Inet, __DB>,

Available on crate features ipnet-address and postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate features network-address and postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature serde_json and (crate features postgres_backend or mysql_backend) only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature bigdecimal only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for (Bound<T>, Bound<T>)
where ST: 'static, (Bound<T>, Bound<T>): ToSql<Range<ST>, Pg>,

Available on crate feature postgres_backend only.
source§

fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, Pg>) -> Result

See the trait documentation.
source§

impl<T, ST, DB> ToSql<Nullable<ST>, DB> for Option<T>
where T: ToSql<ST, DB>, DB: Backend, ST: SqlType<IsNull = NotNull>,

source§

fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<'a, __DB> ToSql<Nullable<Text>, __DB> for MigrationVersion<'a>
where __DB: Backend, Self: ToSql<Text, __DB>,

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Time>, __DB> for MysqlTime
where __DB: Backend, Self: ToSql<Time, __DB>,

Available on crate feature mysql_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature chrono only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for MysqlTime
where __DB: Backend, Self: ToSql<Timestamp, __DB>,

Available on crate feature mysql_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature chrono only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Timestamp>, __DB> for PrimitiveDateTime
where __DB: Backend, Self: ToSql<Timestamp, __DB>,

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature chrono only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature chrono only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature chrono only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for OffsetDateTime
where __DB: Backend, Self: ToSql<TimestamptzSqlite, __DB>,

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for OffsetDateTime
where __DB: Backend, Self: ToSql<Timestamptz, __DB>,

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate feature postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for PrimitiveDateTime
where __DB: Backend, Self: ToSql<Timestamptz, __DB>,

Available on crate feature time only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

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

Available on crate features uuid and postgres_backend only.
source§

fn to_sql<'__b>(&'__b self, out: &mut Output<'__b, '_, __DB>) -> Result

See the trait documentation.
source§

impl BoolOrNullableBool for Nullable<Bool>

source§

impl<ST: Copy> Copy for Nullable<ST>

source§

impl<T: SqlType + SingleValue> SingleValue for Nullable<T>

source§

impl<T> SqlOrd for Nullable<T>
where T: SqlOrd + SqlType<IsNull = NotNull>,

source§

impl<T0: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0,)>
where (T0,): SqlType,

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6, T7)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: SqlType + TypedExpressionType, T8: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: SqlType + TypedExpressionType, T8: SqlType + TypedExpressionType, T9: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: SqlType + TypedExpressionType, T8: SqlType + TypedExpressionType, T9: SqlType + TypedExpressionType, T10: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: SqlType + TypedExpressionType, T8: SqlType + TypedExpressionType, T9: SqlType + TypedExpressionType, T10: SqlType + TypedExpressionType, T11: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: SqlType + TypedExpressionType, T8: SqlType + TypedExpressionType, T9: SqlType + TypedExpressionType, T10: SqlType + TypedExpressionType, T11: SqlType + TypedExpressionType, T12: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: SqlType + TypedExpressionType, T8: SqlType + TypedExpressionType, T9: SqlType + TypedExpressionType, T10: SqlType + TypedExpressionType, T11: SqlType + TypedExpressionType, T12: SqlType + TypedExpressionType, T13: SqlType + TypedExpressionType> TypedExpressionType for Nullable<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>

source§

impl<T0: SqlType + TypedExpressionType, T1: SqlType + TypedExpressionType, T2: SqlType + TypedExpressionType, T3: SqlType + TypedExpressionType, T4: SqlType + TypedExpressionType, T5: SqlType + TypedExpressionType, T6: SqlType + TypedExpressionType, T7: