diesel::expression

Trait AsExpression

Source
pub trait AsExpression<T>{
    type Expression: Expression<SqlType = T>;

    // Required method
    fn as_expression(self) -> Self::Expression;
}
Expand description

Converts a type to its representation for use in Diesel’s query builder.

This trait is used directly. Apps should typically use IntoSql instead.

Implementations of this trait will generally do one of 3 things:

  • Return self for types which are already parts of Diesel’s query builder

  • Perform some implicit coercion (for example, allowing now to be used as both Timestamp and Timestamptz.

  • Indicate that the type has data which will be sent separately from the query. This is generally referred as a “bind parameter”. Types which implement ToSql will generally implement AsExpression this way.

This trait could be derived

Required Associated Types§

Source

type Expression: Expression<SqlType = T>

The expression being returned

Required Methods§

Source

fn as_expression(self) -> Self::Expression

Perform the conversion

Implementations on Foreign Types§

Source§

impl AsExpression<BigInt> for i64

Source§

impl AsExpression<Binary> for Vec<u8>

Source§

impl AsExpression<Bool> for bool

Source§

impl AsExpression<CChar> for u8

Source§

impl AsExpression<Cidr> for IpNet

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

impl AsExpression<Cidr> for IpNetwork

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

impl AsExpression<Citext> for String

Source§

impl AsExpression<Date> for NaiveDate

Available on crate feature chrono only.
Source§

impl AsExpression<Date> for NaiveDate

Available on crate feature time only.
Source§

impl AsExpression<Date> for String

Source§

impl AsExpression<Datetime> for NaiveDateTime

Available on crate feature chrono only.
Source§

impl AsExpression<Datetime> for OffsetDateTime

Available on crate feature time only.
Source§

impl AsExpression<Datetime> for PrimitiveDateTime

Available on crate feature time only.
Source§

impl AsExpression<Double> for f64

Source§

impl AsExpression<Float> for f32

Source§

impl AsExpression<Inet> for IpNet

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

impl AsExpression<Inet> for IpNetwork

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

impl AsExpression<Integer> for i32

Source§

impl AsExpression<Interval> for Duration

Available on crate feature chrono only.
Source§

impl AsExpression<Json> for Value

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

impl AsExpression<Jsonb> for Value

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

impl AsExpression<MacAddr8> for [u8; 8]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<MacAddr8, [u8; 8]>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl AsExpression<MacAddr> for [u8; 6]

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl AsExpression<Nullable<BigInt>> for i64

Source§

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

Source§

impl AsExpression<Nullable<Bool>> for bool

Source§

impl AsExpression<Nullable<CChar>> for u8

Source§

impl AsExpression<Nullable<Cidr>> for IpNet

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

impl AsExpression<Nullable<Cidr>> for IpNetwork

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

impl AsExpression<Nullable<Citext>> for String

Source§

impl AsExpression<Nullable<Date>> for NaiveDate

Available on crate feature chrono only.
Source§

impl AsExpression<Nullable<Date>> for NaiveDate

Available on crate feature time only.
Source§

impl AsExpression<Nullable<Date>> for String

Source§

impl AsExpression<Nullable<Datetime>> for NaiveDateTime

Available on crate feature chrono only.
Source§

impl AsExpression<Nullable<Datetime>> for OffsetDateTime

Available on crate feature time only.
Source§

impl AsExpression<Nullable<Datetime>> for PrimitiveDateTime

Available on crate feature time only.
Source§

impl AsExpression<Nullable<Double>> for f64

Source§

impl AsExpression<Nullable<Float>> for f32

Source§

impl AsExpression<Nullable<Inet>> for IpNet

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

impl AsExpression<Nullable<Inet>> for IpNetwork

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

impl AsExpression<Nullable<Integer>> for i32

Source§

impl AsExpression<Nullable<Interval>> for Duration

Available on crate feature chrono only.
Source§

impl AsExpression<Nullable<Json>> for Value

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

impl AsExpression<Nullable<Jsonb>> for Value

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

impl AsExpression<Nullable<MacAddr8>> for [u8; 8]

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

impl AsExpression<Nullable<Numeric>> for BigDecimal

Available on crate feature numeric only.
Source§

impl AsExpression<Nullable<Oid>> for u32

Source§

impl AsExpression<Nullable<SmallInt>> for i16

Source§

impl AsExpression<Nullable<Text>> for String

Source§

impl AsExpression<Nullable<Time>> for NaiveTime

Available on crate feature chrono only.
Source§

impl AsExpression<Nullable<Time>> for NaiveTime

Available on crate feature time only.
Source§

impl AsExpression<Nullable<Time>> for String

Source§

impl AsExpression<Nullable<Timestamp>> for NaiveDateTime

Available on crate feature chrono only.
Source§

impl AsExpression<Nullable<Timestamp>> for PrimitiveDateTime

Available on crate feature time only.
Source§

impl AsExpression<Nullable<Timestamp>> for String

Source§

impl AsExpression<Nullable<Timestamp>> for SystemTime

Source§

impl AsExpression<Nullable<Timestamptz>> for NaiveDateTime

Available on crate feature chrono only.
Source§

impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime

Available on crate feature time only.
Source§

impl AsExpression<Nullable<Timestamptz>> for PrimitiveDateTime

Available on crate feature time only.
Source§

impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime

Available on crate feature time only.
Source§

impl AsExpression<Nullable<TinyInt>> for i8

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl AsExpression<Nullable<Uuid>> for Uuid

Available on crate features uuid and postgres_backend only.
Source§

impl AsExpression<Numeric> for BigDecimal

Available on crate feature numeric only.
Source§

impl AsExpression<Oid> for u32

Source§

impl AsExpression<SmallInt> for i16

Source§

impl AsExpression<Text> for String

Source§

impl AsExpression<Time> for NaiveTime

Available on crate feature chrono only.
Source§

impl AsExpression<Time> for NaiveTime

Available on crate feature time only.
Source§

impl AsExpression<Time> for String

Source§

impl AsExpression<Timestamp> for NaiveDateTime

Available on crate feature chrono only.
Source§

impl AsExpression<Timestamp> for PrimitiveDateTime

Available on crate feature time only.
Source§

impl AsExpression<Timestamp> for String

Source§

impl AsExpression<Timestamp> for SystemTime

Source§

impl AsExpression<Timestamptz> for NaiveDateTime

Available on crate feature chrono only.
Source§

impl AsExpression<Timestamptz> for OffsetDateTime

Available on crate feature time only.
Source§

impl AsExpression<Timestamptz> for PrimitiveDateTime

Available on crate feature time only.
Source§

impl AsExpression<Timestamptz> for OffsetDateTime

Available on crate feature time only.
Source§

impl AsExpression<TinyInt> for i8

Source§

impl AsExpression<Unsigned<BigInt>> for u64

Source§

impl AsExpression<Unsigned<Integer>> for u32

Source§

impl AsExpression<Unsigned<SmallInt>> for u16

Source§

impl AsExpression<Unsigned<TinyInt>> for u8

Source§

impl AsExpression<Uuid> for Uuid

Available on crate features uuid and postgres_backend only.
Source§

impl<'__expr> AsExpression<BigInt> for &'__expr i64

Source§

type Expression = Bound<BigInt, &'__expr i64>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Binary> for &'__expr Vec<u8>

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Binary> for &'__expr [u8]

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Bool> for &'__expr bool

Source§

type Expression = Bound<Bool, &'__expr bool>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<CChar> for &'__expr u8

Source§

type Expression = Bound<CChar, &'__expr u8>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Cidr> for &'__expr IpNet

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

type Expression = Bound<Cidr, &'__expr IpNet>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Cidr> for &'__expr IpNetwork

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

type Expression = Bound<Cidr, &'__expr IpNetwork>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Date> for &'__expr str

Source§

type Expression = Bound<Date, &'__expr str>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Date> for &'__expr NaiveDate

Available on crate feature chrono only.
Source§

type Expression = Bound<Date, &'__expr NaiveDate>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Date> for &'__expr NaiveDate

Available on crate feature time only.
Source§

type Expression = Bound<Date, &'__expr Date>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Date> for &'__expr String

Source§

type Expression = Bound<Date, &'__expr String>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Datetime> for &'__expr NaiveDateTime

Available on crate feature chrono only.
Source§

impl<'__expr> AsExpression<Datetime> for &'__expr OffsetDateTime

Available on crate feature time only.
Source§

impl<'__expr> AsExpression<Datetime> for &'__expr PrimitiveDateTime

Available on crate feature time only.
Source§

impl<'__expr> AsExpression<Double> for &'__expr f64

Source§

type Expression = Bound<Double, &'__expr f64>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Float> for &'__expr f32

Source§

type Expression = Bound<Float, &'__expr f32>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Inet> for &'__expr IpNet

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

type Expression = Bound<Inet, &'__expr IpNet>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Inet> for &'__expr IpNetwork

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

type Expression = Bound<Inet, &'__expr IpNetwork>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Integer> for &'__expr i32

Source§

type Expression = Bound<Integer, &'__expr i32>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Json> for &'__expr Value

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

type Expression = Bound<Json, &'__expr Value>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Jsonb> for &'__expr Value

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

type Expression = Bound<Jsonb, &'__expr Value>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<MacAddr8> for &'__expr [u8; 8]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<MacAddr8, &'__expr [u8; 8]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature time only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

Available on crate feature time only.
Source§

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

Available on crate feature time only.
Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

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

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

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

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Nullable<MacAddr8>> for &'__expr [u8; 8]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Nullable<MacAddr8>, &'__expr [u8; 8]>

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature numeric only.
Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature time only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

Available on crate feature time only.
Source§

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

Source§

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

Source§

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

Available on crate feature chrono only.
Source§

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

Available on crate feature time only.
Source§

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

Available on crate feature time only.
Source§

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

Available on crate feature time only.
Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

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

Source§

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

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Numeric> for &'__expr BigDecimal

Available on crate feature numeric only.
Source§

type Expression = Bound<Numeric, &'__expr BigDecimal>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Oid> for &'__expr u32

Source§

type Expression = Bound<Oid, &'__expr u32>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<SmallInt> for &'__expr i16

Source§

type Expression = Bound<SmallInt, &'__expr i16>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Text> for &'__expr str

Source§

type Expression = Bound<Text, &'__expr str>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Text> for &'__expr String

Source§

type Expression = Bound<Text, &'__expr String>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Time> for &'__expr str

Source§

type Expression = Bound<Time, &'__expr str>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Time> for &'__expr NaiveTime

Available on crate feature chrono only.
Source§

type Expression = Bound<Time, &'__expr NaiveTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Time> for &'__expr NaiveTime

Available on crate feature time only.
Source§

type Expression = Bound<Time, &'__expr Time>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Time> for &'__expr String

Source§

type Expression = Bound<Time, &'__expr String>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Timestamp> for &'__expr str

Source§

type Expression = Bound<Timestamp, &'__expr str>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Timestamp> for &'__expr NaiveDateTime

Available on crate feature chrono only.
Source§

impl<'__expr> AsExpression<Timestamp> for &'__expr PrimitiveDateTime

Available on crate feature time only.
Source§

impl<'__expr> AsExpression<Timestamp> for &'__expr String

Source§

type Expression = Bound<Timestamp, &'__expr String>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Timestamp> for &'__expr SystemTime

Source§

impl<'__expr> AsExpression<Timestamptz> for &'__expr NaiveDateTime

Available on crate feature chrono only.
Source§

impl<'__expr> AsExpression<Timestamptz> for &'__expr OffsetDateTime

Available on crate feature time only.
Source§

impl<'__expr> AsExpression<Timestamptz> for &'__expr PrimitiveDateTime

Available on crate feature time only.
Source§

impl<'__expr> AsExpression<Timestamptz> for &'__expr OffsetDateTime

Available on crate feature time only.
Source§

impl<'__expr> AsExpression<TinyInt> for &'__expr i8

Source§

type Expression = Bound<TinyInt, &'__expr i8>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Unsigned<BigInt>> for &'__expr u64

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Unsigned<Integer>> for &'__expr u32

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Unsigned<SmallInt>> for &'__expr u16

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Unsigned<TinyInt>> for &'__expr u8

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr> AsExpression<Uuid> for &'__expr Uuid

Available on crate features uuid and postgres_backend only.
Source§

type Expression = Bound<Uuid, &'__expr Uuid>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<BigInt> for &'__expr2 &'__expr i64

Source§

type Expression = Bound<BigInt, &'__expr2 &'__expr i64>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Binary> for &'__expr2 &'__expr Vec<u8>

Source§

type Expression = Bound<Binary, &'__expr2 &'__expr Vec<u8>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Binary> for &'__expr2 &'__expr [u8]

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Bool> for &'__expr2 &'__expr bool

Source§

type Expression = Bound<Bool, &'__expr2 &'__expr bool>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<CChar> for &'__expr2 &'__expr u8

Source§

type Expression = Bound<CChar, &'__expr2 &'__expr u8>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Cidr> for &'__expr2 &'__expr IpNet

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

type Expression = Bound<Cidr, &'__expr2 &'__expr IpNet>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Cidr> for &'__expr2 &'__expr IpNetwork

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

type Expression = Bound<Cidr, &'__expr2 &'__expr IpNetwork>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Citext> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Date> for &'__expr2 &'__expr str

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Date> for &'__expr2 &'__expr NaiveDate

Available on crate feature chrono only.
Source§

type Expression = Bound<Date, &'__expr2 &'__expr NaiveDate>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Date> for &'__expr2 &'__expr NaiveDate

Available on crate feature time only.
Source§

type Expression = Bound<Date, &'__expr2 &'__expr Date>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Date> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Datetime> for &'__expr2 &'__expr NaiveDateTime

Available on crate feature chrono only.
Source§

type Expression = Bound<Datetime, &'__expr2 &'__expr NaiveDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Datetime> for &'__expr2 &'__expr OffsetDateTime

Available on crate feature time only.
Source§

type Expression = Bound<Datetime, &'__expr2 &'__expr OffsetDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Datetime> for &'__expr2 &'__expr PrimitiveDateTime

Available on crate feature time only.
Source§

type Expression = Bound<Datetime, &'__expr2 &'__expr PrimitiveDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Double> for &'__expr2 &'__expr f64

Source§

type Expression = Bound<Double, &'__expr2 &'__expr f64>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Float> for &'__expr2 &'__expr f32

Source§

type Expression = Bound<Float, &'__expr2 &'__expr f32>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Inet> for &'__expr2 &'__expr IpNet

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

type Expression = Bound<Inet, &'__expr2 &'__expr IpNet>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Inet> for &'__expr2 &'__expr IpNetwork

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

type Expression = Bound<Inet, &'__expr2 &'__expr IpNetwork>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Integer> for &'__expr2 &'__expr i32

Source§

type Expression = Bound<Integer, &'__expr2 &'__expr i32>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Interval> for &'__expr2 &'__expr Duration

Available on crate feature chrono only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Json> for &'__expr2 &'__expr Value

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

type Expression = Bound<Json, &'__expr2 &'__expr Value>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Jsonb> for &'__expr2 &'__expr Value

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

type Expression = Bound<Jsonb, &'__expr2 &'__expr Value>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<MacAddr8> for &'__expr2 &'__expr [u8; 8]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<MacAddr8, &'__expr2 &'__expr [u8; 8]>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<MacAddr> for &'__expr2 &'__expr [u8; 6]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<MacAddr, &'__expr2 &'__expr [u8; 6]>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<BigInt>> for &'__expr2 &'__expr i64

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Binary>> for &'__expr2 &'__expr Vec<u8>

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Binary>> for &'__expr2 &'__expr [u8]

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Bool>> for &'__expr2 &'__expr bool

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<CChar>> for &'__expr2 &'__expr u8

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Date>> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Double>> for &'__expr2 &'__expr f64

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Float>> for &'__expr2 &'__expr f32

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Integer>> for &'__expr2 &'__expr i32

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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 or sqlite) only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

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 or sqlite) only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<MacAddr8>> for &'__expr2 &'__expr [u8; 8]

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Oid>> for &'__expr2 &'__expr u32

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<SmallInt>> for &'__expr2 &'__expr i16

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Text>> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Time>> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Timestamp>> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Timestamp>> for &'__expr2 &'__expr SystemTime

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<TinyInt>> for &'__expr2 &'__expr i8

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Unsigned<BigInt>>> for &'__expr2 &'__expr u64

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Unsigned<Integer>>> for &'__expr2 &'__expr u32

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Unsigned<SmallInt>>> for &'__expr2 &'__expr u16

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Nullable<Unsigned<TinyInt>>> for &'__expr2 &'__expr u8

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Numeric> for &'__expr2 &'__expr BigDecimal

Available on crate feature numeric only.
Source§

type Expression = Bound<Numeric, &'__expr2 &'__expr BigDecimal>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Oid> for &'__expr2 &'__expr u32

Source§

type Expression = Bound<Oid, &'__expr2 &'__expr u32>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<SmallInt> for &'__expr2 &'__expr i16

Source§

type Expression = Bound<SmallInt, &'__expr2 &'__expr i16>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr str

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Time> for &'__expr2 &'__expr str

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Time> for &'__expr2 &'__expr NaiveTime

Available on crate feature chrono only.
Source§

type Expression = Bound<Time, &'__expr2 &'__expr NaiveTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Time> for &'__expr2 &'__expr NaiveTime

Available on crate feature time only.
Source§

type Expression = Bound<Time, &'__expr2 &'__expr Time>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Time> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamp> for &'__expr2 &'__expr str

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamp> for &'__expr2 &'__expr NaiveDateTime

Available on crate feature chrono only.
Source§

type Expression = Bound<Timestamp, &'__expr2 &'__expr NaiveDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamp> for &'__expr2 &'__expr PrimitiveDateTime

Available on crate feature time only.
Source§

type Expression = Bound<Timestamp, &'__expr2 &'__expr PrimitiveDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamp> for &'__expr2 &'__expr String

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamp> for &'__expr2 &'__expr SystemTime

Source§

type Expression = Bound<Timestamp, &'__expr2 &'__expr SystemTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamptz> for &'__expr2 &'__expr NaiveDateTime

Available on crate feature chrono only.
Source§

type Expression = Bound<Timestamptz, &'__expr2 &'__expr NaiveDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamptz> for &'__expr2 &'__expr OffsetDateTime

Available on crate feature time only.
Source§

type Expression = Bound<Timestamptz, &'__expr2 &'__expr OffsetDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamptz> for &'__expr2 &'__expr PrimitiveDateTime

Available on crate feature time only.
Source§

type Expression = Bound<Timestamptz, &'__expr2 &'__expr PrimitiveDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Timestamptz> for &'__expr2 &'__expr OffsetDateTime

Available on crate feature time only.
Source§

type Expression = Bound<Timestamptz, &'__expr2 &'__expr OffsetDateTime>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<TinyInt> for &'__expr2 &'__expr i8

Source§

type Expression = Bound<TinyInt, &'__expr2 &'__expr i8>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Unsigned<BigInt>> for &'__expr2 &'__expr u64

Source§

type Expression = Bound<Unsigned<BigInt>, &'__expr2 &'__expr u64>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Unsigned<Integer>> for &'__expr2 &'__expr u32

Source§

type Expression = Bound<Unsigned<Integer>, &'__expr2 &'__expr u32>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Unsigned<SmallInt>> for &'__expr2 &'__expr u16

Source§

type Expression = Bound<Unsigned<SmallInt>, &'__expr2 &'__expr u16>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Unsigned<TinyInt>> for &'__expr2 &'__expr u8

Source§

type Expression = Bound<Unsigned<TinyInt>, &'__expr2 &'__expr u8>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2> AsExpression<Uuid> for &'__expr2 &'__expr Uuid

Available on crate features uuid and postgres_backend only.
Source§

type Expression = Bound<Uuid, &'__expr2 &'__expr Uuid>

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2, Tz: TimeZone> AsExpression<Timestamptz> for &'__expr2 &'__expr DateTime<Tz>

Available on crate feature chrono only.
Source§

type Expression = Bound<Timestamptz, &'__expr2 &'__expr DateTime<Tz>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2, Tz: TimeZone> AsExpression<Timestamptz> for &'__expr2 &'__expr DateTime<Tz>

Available on crate feature chrono only.
Source§

type Expression = Bound<Timestamptz, &'__expr2 &'__expr DateTime<Tz>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, '__expr2, const N: usize> AsExpression<Binary> for &'__expr2 &'__expr [u8; N]

Source§

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature chrono only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, const N: usize> AsExpression<Binary> for &'__expr [u8; N]

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'__expr, const N: usize> AsExpression<Nullable<Binary>> for &'__expr [u8; N]

Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a &'b Vec<(Bound<T>, Bound<T>)>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b Vec<(Bound<T>, Bound<T>)>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a &'b Vec<Range<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b Vec<Range<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a &'b Vec<RangeFrom<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b Vec<RangeFrom<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a &'b Vec<RangeInclusive<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b Vec<RangeInclusive<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a &'b Vec<RangeTo<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b Vec<RangeTo<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a &'b Vec<RangeToInclusive<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b Vec<RangeToInclusive<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a &'b [(Bound<T>, Bound<T>)]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b [(Bound<T>, Bound<T>)]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b [Range<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b [RangeFrom<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b [RangeInclusive<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b [RangeTo<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a &'b [RangeToInclusive<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a Vec<(Bound<T>, Bound<T>)>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a Vec<(Bound<T>, Bound<T>)>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a Vec<Range<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a Vec<Range<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a Vec<RangeFrom<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a Vec<RangeFrom<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a Vec<RangeInclusive<T>>

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a Vec<RangeTo<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a Vec<RangeTo<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a Vec<RangeToInclusive<T>>

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for &'a [(Bound<T>, Bound<T>)]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a [(Bound<T>, Bound<T>)]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a [Range<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a [RangeFrom<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a [RangeInclusive<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, &'a [RangeTo<T>]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for Vec<(Bound<T>, Bound<T>)>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, Vec<(Bound<T>, Bound<T>)>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for Vec<Range<T>>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Multirange<ST>, Vec<Range<T>>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for Vec<RangeFrom<T>>

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for Vec<RangeInclusive<T>>

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for Vec<RangeTo<T>>

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Multirange<ST>> for Vec<RangeToInclusive<T>>

Available on crate feature postgres_backend only.
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]>

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Nullable<Multirange<ST>>, &'a &'b Vec<(Bound<T>, Bound<T>)>>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Multirange<ST>>> for &'a &'b [(Bound<T>, Bound<T>)]

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Multirange<ST>>> for &'a [(Bound<T>, Bound<T>)]

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Nullable<Multirange<ST>>, &'a [(Bound<T>, Bound<T>)]>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Multirange<ST>>> for Vec<(Bound<T>, Bound<T>)>

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

impl<'a, 'b, T, ST> AsExpression<ST> for &'b Cow<'a, T>
where T: 'a + ToOwned + ?Sized, Bound<ST, &'b T>: Expression<SqlType = ST>, ST: SqlType + TypedExpressionType,

Source§

type Expression = Bound<ST, &'b T>

Source§

fn as_expression(self) -> Self::Expression

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

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for &'a RangeFrom<T>

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for &'a RangeInclusive<T>

Available on crate feature postgres_backend only.
Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for &'a RangeTo<T>

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for &'a RangeToInclusive<T>

Available on crate feature postgres_backend only.
Source§

impl<'a, 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>)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for Range<T>

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for RangeFrom<T>

Available on crate feature postgres_backend only.
Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for RangeInclusive<T>

Available on crate feature postgres_backend only.
Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for RangeTo<T>

Available on crate feature postgres_backend only.
Source§

impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for RangeToInclusive<T>

Available on crate feature postgres_backend only.
Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for &'a Range<T>

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for &'a RangeFrom<T>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Range<ST>, &'a RangeFrom<T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for &'a RangeInclusive<T>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Range<ST>, &'a RangeInclusive<T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for &'a RangeTo<T>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Range<ST>, &'a RangeTo<T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for &'a RangeToInclusive<T>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Range<ST>, &'a RangeToInclusive<T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

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

Available on crate feature postgres_backend only.
Source§

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

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for Range<T>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Range<ST>, Range<T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for RangeFrom<T>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Range<ST>, RangeFrom<T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for RangeInclusive<T>

Available on crate feature postgres_backend only.
Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for RangeTo<T>

Available on crate feature postgres_backend only.
Source§

type Expression = Bound<Range<ST>, RangeTo<T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<'a, ST: 'static, T> AsExpression<Range<ST>> for RangeToInclusive<T>

Available on crate feature postgres_backend only.
Source§

impl<'a, T, ST> AsExpression<ST> for Cow<'a, T>
where T: 'a + ToOwned + ?Sized, Bound<ST, Cow<'a, T>>: Expression<SqlType = ST>, ST: SqlType + TypedExpressionType,

Source§

type Expression = Bound<ST, Cow<'a, T>>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, ST0> AsExpression<Record<(ST0,)>> for (T0,)
where ST0: SqlType + TypedExpressionType, T0: AsExpression<ST0>, PgTuple<(T0::Expression,)>: Expression<SqlType = Record<(ST0,)>>,

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression,)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, ST0, ST1> AsExpression<Record<(ST0, ST1)>> for (T0, T1)
where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, PgTuple<(T0::Expression, T1::Expression)>: Expression<SqlType = Record<(ST0, ST1)>>,

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, ST0, ST1, ST2> AsExpression<Record<(ST0, ST1, ST2)>> for (T0, T1, T2)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, ST0, ST1, ST2, ST3> AsExpression<Record<(ST0, ST1, ST2, ST3)>> for (T0, T1, T2, T3)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, ST0, ST1, ST2, ST3, ST4> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4)>> for (T0, T1, T2, T3, T4)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, ST0, ST1, ST2, ST3, ST4, ST5> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5)>> for (T0, T1, T2, T3, T4, T5)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression, <T5 as AsExpression<ST5>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, T6, ST0, ST1, ST2, ST3, ST4, ST5, ST6> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>> for (T0, T1, T2, T3, T4, T5, T6)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression, <T5 as AsExpression<ST5>>::Expression, <T6 as AsExpression<ST6>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>> for (T0, T1, T2, T3, T4, T5, T6, T7)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression, <T5 as AsExpression<ST5>>::Expression, <T6 as AsExpression<ST6>>::Expression, <T7 as AsExpression<ST7>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression, <T5 as AsExpression<ST5>>::Expression, <T6 as AsExpression<ST6>>::Expression, <T7 as AsExpression<ST7>>::Expression, <T8 as AsExpression<ST8>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression, <T5 as AsExpression<ST5>>::Expression, <T6 as AsExpression<ST6>>::Expression, <T7 as AsExpression<ST7>>::Expression, <T8 as AsExpression<ST8>>::Expression, <T9 as AsExpression<ST9>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression, <T5 as AsExpression<ST5>>::Expression, <T6 as AsExpression<ST6>>::Expression, <T7 as AsExpression<ST7>>::Expression, <T8 as AsExpression<ST8>>::Expression, <T9 as AsExpression<ST9>>::Expression, <T10 as AsExpression<ST10>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Available on crate feature postgres_backend only.
Source§

type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression, <T4 as AsExpression<ST4>>::Expression, <T5 as AsExpression<ST5>>::Expression, <T6 as AsExpression<ST6>>::Expression, <T7 as AsExpression<ST7>>::Expression, <T8 as AsExpression<ST8>>::Expression, <T9 as AsExpression<ST9>>::Expression, <T10 as AsExpression<ST10>>::Expression, <T11 as AsExpression<ST11>>::Expression)>

Source§

fn as_expression(self) -> Self::Expression

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)