diesel::sql_types

Struct 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>,

Source§

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

The SQL type which can be added to this one
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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]

Source§

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]

Source§

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>

Source§

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]

Source§

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]

Source§

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>

Source§

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]

Source§

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>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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<Citext>> for &'__expr2 &'__expr String

Source§

type Expression = Bound<Nullable<Citext>, &'__expr2 &'__expr String>

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Citext>> for &'__expr2 &'__expr str

Source§

type Expression = Bound<Nullable<Citext>, &'__expr2 &'__expr str>

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl<'__expr> AsExpression<Nullable<Citext>> for &'__expr String

Source§

type Expression = Bound<Nullable<Citext>, &'__expr String>

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl<'__expr> AsExpression<Nullable<Citext>> for &'__expr str

Source§

type Expression = Bound<Nullable<Citext>, &'__expr str>

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl AsExpression<Nullable<Citext>> for String

Source§

type Expression = Bound<Nullable<Citext>, 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 NaiveDate

Available on crate feature time only.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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, '__expr2> AsExpression<Nullable<Interval>> for &'__expr2 &'__expr Duration

Available on crate feature chrono only.
Source§

type Expression = Bound<Nullable<Interval>, &'__expr2 &'__expr TimeDelta>

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.
Source§

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

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl<'__expr> AsExpression<Nullable<Interval>> for &'__expr Duration

Available on crate feature chrono only.
Source§

type Expression = Bound<Nullable<Interval>, &'__expr TimeDelta>

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.
Source§

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

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl AsExpression<Nullable<Interval>> for Duration

Available on crate feature chrono only.
Source§

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

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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 numeric only.
Source§

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.
Source§

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 numeric only.
Source§

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.
Source§

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 numeric only.
Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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,

Source§

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,

Source§

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

Source§

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

Source§

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

Source§

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>

Source§

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

Source§

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

Source§

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>

Source§

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

Source§

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

Source§

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>

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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.
Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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.
Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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.
Source§

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

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl AsExpression<Nullable<Timestamptz>> for now

Available on crate feature postgres_backend only.
Source§

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

The expression being returned
Source§

fn as_expression(self) -> Self::Expression

Perform the conversion
Source§

impl AsExpression<Nullable<Timestamptz>> for now

Available on crate feature sqlite only.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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.
Source§

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.
Source§

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.
Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

Source§

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)>

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>,

Source§

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

The SQL type which this one can be divided by
Source§

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>,

Source§

type Sum = <T as Foldable>::Sum

The SQL type of sum(this_type)
Source§

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,

Source§

type NotNullable = T

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

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

Source§

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>,

Source§

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

The SQL type which this can be multiplied by
Source§

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>,

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§

type QueryId = <T as QueryId>::QueryId

A type which uniquely represents Self in a SQL query. 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,

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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>

Source§

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,

Source§

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>,

Source§

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

The SQL type which can be subtracted from this one
Source§

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<Citext>, __DB> for String
where __DB: Backend, Self: ToSql<Citext, __DB>,

Source§

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

See the trait documentation.
Source§

impl<__DB> ToSql<Nullable<Citext>, __DB> for str
where __DB: Backend, Self: ToSql<Citext, __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 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<Interval>, __DB> for Duration
where __DB: Backend, Self: ToSql<Interval, __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<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 numeric 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.