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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2, const N: usize> AsExpression<Nullable<Binary>> for &'__expr2 &'__expr [u8; N]

§

type Expression = Bound<Nullable<Binary>, &'__expr2 &'__expr [u8; N]>

The expression being returned
source§

fn as_expression(self) -> Self::Expression

Perform the conversion
source§

impl<'__expr, '__expr2> 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, const N: usize> AsExpression<Nullable<Binary>> for &'__expr [u8; N]

§

type Expression = Bound<Nullable<Binary>, &'__expr [u8; N]>

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<const N: usize> AsExpression<Nullable<Binary>> for [u8; N]

§

type Expression = Bound<Nullable<Binary>, [u8; N]>

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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'a, '__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'a, '__expr> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2, 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<'__expr, '__expr2, 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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 sqlite 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 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<'__expr, '__expr2> 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<const N: usize, __DB> ToSql<Nullable<Binary>, __DB> for [u8; N]
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<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 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 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 +