Trait diesel::expression::AsExpression
source · pub trait AsExpression<T>where
T: SqlType + TypedExpressionType,{
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 bothTimestamp
andTimestamptz
. -
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 implementAsExpression
this way.
This trait could be derived
Required Associated Types§
sourcetype Expression: Expression<SqlType = T>
type Expression: Expression<SqlType = T>
The expression being returned
Required Methods§
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
Implementations on Foreign Types§
source§impl<'expr> AsExpression<Timestamp> for &'expr SystemTime
impl<'expr> AsExpression<Timestamp> for &'expr SystemTime
type Expression = Bound<Timestamp, &'expr SystemTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr [u8]
impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr [u8]
type Expression = Bound<Nullable<Binary>, &'expr2 &'expr [u8]>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamp> for NaiveDateTime
Available on crate feature chrono
only.
impl AsExpression<Timestamp> for NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Timestamp, NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Inet> for &'expr IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl<'expr> AsExpression<Inet> for &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Inet, &'expr IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16
impl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16
type Expression = Bound<Unsigned<SmallInt>, &'expr2 &'expr u16>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Time> for NaiveTime
Available on crate feature time
only.
impl AsExpression<Time> for NaiveTime
Available on crate feature
time
only.type Expression = Bound<Time, Time>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Jsonb> for &'expr2 &'expr Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl<'expr2, 'expr> AsExpression<Jsonb> for &'expr2 &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Jsonb, &'expr2 &'expr Value>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<MacAddr> for [u8; 6]
Available on crate feature postgres_backend
only.
impl AsExpression<MacAddr> for [u8; 6]
Available on crate feature
postgres_backend
only.type Expression = Bound<MacAddr, [u8; 6]>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Integer>> for &'expr i32
impl<'expr> AsExpression<Nullable<Integer>> for &'expr i32
type Expression = Bound<Nullable<Integer>, &'expr i32>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<TinyInt>> for i8
impl AsExpression<Nullable<TinyInt>> for i8
type Expression = Bound<Nullable<TinyInt>, i8>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Datetime> for PrimitiveDateTime
Available on crate feature time
only.
impl AsExpression<Datetime> for PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Datetime, PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Unsigned<Integer>>> for u32
impl AsExpression<Nullable<Unsigned<Integer>>> for u32
type Expression = Bound<Nullable<Unsigned<Integer>>, u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr str
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr str
type Expression = Bound<Nullable<Timestamp>, &'expr str>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Float>> for f32
impl AsExpression<Nullable<Float>> for f32
type Expression = Bound<Nullable<Float>, f32>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamp>> for SystemTime
impl AsExpression<Nullable<Timestamp>> for SystemTime
type Expression = Bound<Nullable<Timestamp>, SystemTime>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Array<ST>> for &'a &'b Vec<T>
Available on crate feature
postgres_backend
only.type Expression = Bound<Array<ST>, &'a &'b Vec<T, Global>>
fn as_expression(self) -> Self::Expression
source§impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>
Available on crate feature chrono
only.
impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Unsigned<BigInt>> for u64
impl AsExpression<Unsigned<BigInt>> for u64
type Expression = Bound<Unsigned<BigInt>, u64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Uuid>> for Uuid
Available on crate features uuid
and postgres_backend
only.
impl AsExpression<Nullable<Uuid>> for Uuid
Available on crate features
uuid
and postgres_backend
only.type Expression = Bound<Nullable<Uuid>, Uuid>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Unsigned<TinyInt>> for &'expr u8
impl<'expr> AsExpression<Unsigned<TinyInt>> for &'expr u8
type Expression = Bound<Unsigned<TinyInt>, &'expr u8>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Cidr> for IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl AsExpression<Cidr> for IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Cidr, IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamp>> for NaiveDateTime
Available on crate feature chrono
only.
impl AsExpression<Nullable<Timestamp>> for NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamp>, NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr String>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamp> for String
impl AsExpression<Timestamp> for String
type Expression = Bound<Timestamp, String>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
ST9: SqlType + TypedExpressionType,
ST10: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
T9: AsExpression<ST9>,
T10: AsExpression<ST10>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, ST9: SqlType + TypedExpressionType, ST10: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, T9: AsExpression<ST9>, T10: AsExpression<ST10>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>>,
Available on crate feature
postgres_backend
only.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)>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Datetime>> for &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Datetime>> for &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Datetime>, &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamptz> for &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Timestamptz> for &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr NaiveDate
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr NaiveDate
Available on crate feature
time
only.type Expression = Bound<Date, &'expr2 &'expr Date>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Binary> for &'expr2 &'expr [u8]
impl<'expr2, 'expr> AsExpression<Binary> for &'expr2 &'expr [u8]
type Expression = Bound<Binary, &'expr2 &'expr [u8]>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<CChar>> for &'expr2 &'expr u8
impl<'expr2, 'expr> AsExpression<Nullable<CChar>> for &'expr2 &'expr u8
type Expression = Bound<Nullable<CChar>, &'expr2 &'expr u8>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Json>> for &'expr2 &'expr Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl<'expr2, 'expr> AsExpression<Nullable<Json>> for &'expr2 &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Nullable<Json>, &'expr2 &'expr Value>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<CChar>> for &'expr u8
impl<'expr> AsExpression<Nullable<CChar>> for &'expr u8
type Expression = Bound<Nullable<CChar>, &'expr u8>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<BigInt> for &'expr i64
impl<'expr> AsExpression<BigInt> for &'expr i64
type Expression = Bound<BigInt, &'expr i64>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamp> for &'expr String
impl<'expr> AsExpression<Timestamp> for &'expr String
type Expression = Bound<Timestamp, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<MacAddr>> for &'expr2 &'expr [u8; 6]
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<MacAddr>> for &'expr2 &'expr [u8; 6]
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<MacAddr>, &'expr2 &'expr [u8; 6]>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Date> for NaiveDate
Available on crate feature time
only.
impl AsExpression<Date> for NaiveDate
Available on crate feature
time
only.type Expression = Bound<Date, Date>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Unsigned<TinyInt>>> for &'expr u8
impl<'expr> AsExpression<Nullable<Unsigned<TinyInt>>> for &'expr u8
type Expression = Bound<Nullable<Unsigned<TinyInt>>, &'expr u8>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Oid>> for u32
impl AsExpression<Nullable<Oid>> for u32
type Expression = Bound<Nullable<Oid>, u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Inet> for &'expr2 &'expr IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Inet> for &'expr2 &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Inet, &'expr2 &'expr IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Time> for &'expr str
impl<'expr> AsExpression<Time> for &'expr str
type Expression = Bound<Time, &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamp>, &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<BigInt> for i64
impl AsExpression<BigInt> for i64
type Expression = Bound<BigInt, i64>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Binary> for &'expr [u8]
impl<'expr> AsExpression<Binary> for &'expr [u8]
type Expression = Bound<Binary, &'expr [u8]>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime
Available on crate feature
chrono
only.type Expression = Bound<Time, &'expr2 &'expr NaiveTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Time>> for String
impl AsExpression<Nullable<Time>> for String
type Expression = Bound<Nullable<Time>, String>
fn as_expression(self) -> Self::Expression
source§impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for &'a &'b [T]
Available on crate feature postgres_backend
only.
impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for &'a &'b [T]
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Array<ST>>, &'a &'b [T]>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<BigInt> for &'expr2 &'expr i64
impl<'expr2, 'expr> AsExpression<BigInt> for &'expr2 &'expr i64
type Expression = Bound<BigInt, &'expr2 &'expr i64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Unsigned<Integer>> for u32
impl AsExpression<Unsigned<Integer>> for u32
type Expression = Bound<Unsigned<Integer>, u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<MacAddr>> for &'expr [u8; 6]
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<MacAddr>> for &'expr [u8; 6]
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<MacAddr>, &'expr [u8; 6]>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Uuid> for &'expr2 &'expr Uuid
Available on crate features uuid
and postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Uuid> for &'expr2 &'expr Uuid
Available on crate features
uuid
and postgres_backend
only.type Expression = Bound<Uuid, &'expr2 &'expr Uuid>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Inet>> for &'expr2 &'expr IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Inet>> for &'expr2 &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Nullable<Inet>, &'expr2 &'expr IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Double> for &'expr f64
impl<'expr> AsExpression<Double> for &'expr f64
type Expression = Bound<Double, &'expr f64>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Float> for &'expr2 &'expr f32
impl<'expr2, 'expr> AsExpression<Float> for &'expr2 &'expr f32
type Expression = Bound<Float, &'expr2 &'expr f32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamptz> for NaiveDateTime
Available on crate feature chrono
only.
impl AsExpression<Timestamptz> for NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Text> for &'expr str
impl<'expr> AsExpression<Text> for &'expr str
type Expression = Bound<Text, &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<BigInt>> for &'expr i64
impl<'expr> AsExpression<Nullable<BigInt>> for &'expr i64
type Expression = Bound<Nullable<BigInt>, &'expr i64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Json> for Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl AsExpression<Json> for Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Json, Value>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Datetime> for &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Datetime> for &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Datetime, &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr2 &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr2 &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, &'expr2 &'expr DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr String
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr String
type Expression = Bound<Nullable<Timestamp>, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
ST9: SqlType + TypedExpressionType,
ST10: SqlType + TypedExpressionType,
ST11: SqlType + TypedExpressionType,
ST12: SqlType + TypedExpressionType,
ST13: SqlType + TypedExpressionType,
ST14: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
T9: AsExpression<ST9>,
T10: AsExpression<ST10>,
T11: AsExpression<ST11>,
T12: AsExpression<ST12>,
T13: AsExpression<ST13>,
T14: AsExpression<ST14>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression, T13::Expression, T14::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>>,
Available on crate feature postgres_backend
only.
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, ST9: SqlType + TypedExpressionType, ST10: SqlType + TypedExpressionType, ST11: SqlType + TypedExpressionType, ST12: SqlType + TypedExpressionType, ST13: SqlType + TypedExpressionType, ST14: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, T9: AsExpression<ST9>, T10: AsExpression<ST10>, T11: AsExpression<ST11>, T12: AsExpression<ST12>, T13: AsExpression<ST13>, T14: AsExpression<ST14>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression, T13::Expression, T14::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>>,
Available on crate feature
postgres_backend
only.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, <T12 as AsExpression<ST12>>::Expression, <T13 as AsExpression<ST13>>::Expression, <T14 as AsExpression<ST14>>::Expression)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Text>, &'expr2 &'expr String>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Numeric>> for BigDecimal
Available on crate feature bigdecimal
only.
impl AsExpression<Nullable<Numeric>> for BigDecimal
Available on crate feature
bigdecimal
only.type Expression = Bound<Nullable<Numeric>, BigDecimal>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<TinyInt>> for &'expr2 &'expr i8
impl<'expr2, 'expr> AsExpression<Nullable<TinyInt>> for &'expr2 &'expr i8
type Expression = Bound<Nullable<TinyInt>, &'expr2 &'expr i8>
fn as_expression(self) -> Self::Expression
source§impl<ST: 'static, T> AsExpression<Range<ST>> for (Bound<T>, Bound<T>)
Available on crate feature postgres_backend
only.
impl<ST: 'static, T> AsExpression<Range<ST>> for (Bound<T>, Bound<T>)
Available on crate feature
postgres_backend
only.type Expression = Bound<Range<ST>, (Bound<T>, Bound<T>)>
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.
impl<'a, ST: 'static, T> AsExpression<Nullable<Range<ST>>> for &'a (Bound<T>, Bound<T>)
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Range<ST>>, &'a (Bound<T>, Bound<T>)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Time>, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime
Available on crate feature time
only.
impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<Tz: TimeZone> AsExpression<Timestamptz> for DateTime<Tz>
Available on crate feature chrono
only.
impl<Tz: TimeZone> AsExpression<Timestamptz> for DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr2 &'expr u32
impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr2 &'expr u32
type Expression = Bound<Nullable<Unsigned<Integer>>, &'expr2 &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Float> for &'expr f32
impl<'expr> AsExpression<Float> for &'expr f32
type Expression = Bound<Float, &'expr f32>
fn as_expression(self) -> Self::Expression
source§impl<'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, &'expr DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Unsigned<BigInt>>> for u64
impl AsExpression<Nullable<Unsigned<BigInt>>> for u64
type Expression = Bound<Nullable<Unsigned<BigInt>>, u64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Time>> for NaiveTime
Available on crate feature chrono
only.
impl AsExpression<Nullable<Time>> for NaiveTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Time>, NaiveTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr str
type Expression = Bound<Date, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Json> for &'expr2 &'expr Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl<'expr2, 'expr> AsExpression<Json> for &'expr2 &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Json, &'expr2 &'expr Value>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Date>> for NaiveDate
Available on crate feature time
only.
impl AsExpression<Nullable<Date>> for NaiveDate
Available on crate feature
time
only.type Expression = Bound<Nullable<Date>, Date>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Numeric> for &'expr BigDecimal
Available on crate feature bigdecimal
only.
impl<'expr> AsExpression<Numeric> for &'expr BigDecimal
Available on crate feature
bigdecimal
only.type Expression = Bound<Numeric, &'expr BigDecimal>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Uuid>> for &'expr2 &'expr Uuid
Available on crate features uuid
and postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Uuid>> for &'expr2 &'expr Uuid
Available on crate features
uuid
and postgres_backend
only.type Expression = Bound<Nullable<Uuid>, &'expr2 &'expr Uuid>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Time> for &'expr String
impl<'expr> AsExpression<Time> for &'expr String
type Expression = Bound<Time, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, &'expr2 &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<MacAddr>> for [u8; 6]
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<MacAddr>> for [u8; 6]
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<MacAddr>, [u8; 6]>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Binary>> for Vec<u8>
impl AsExpression<Nullable<Binary>> for Vec<u8>
type Expression = Bound<Nullable<Binary>, Vec<u8, Global>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Binary> for &'expr Vec<u8>
impl<'expr> AsExpression<Binary> for &'expr Vec<u8>
type Expression = Bound<Binary, &'expr Vec<u8, Global>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamptz>> for PrimitiveDateTime
Available on crate feature time
only.
impl AsExpression<Nullable<Timestamptz>> for PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Numeric> for BigDecimal
Available on crate feature bigdecimal
only.
impl AsExpression<Numeric> for BigDecimal
Available on crate feature
bigdecimal
only.type Expression = Bound<Numeric, BigDecimal>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Uuid>> for &'expr Uuid
Available on crate features uuid
and postgres_backend
only.
impl<'expr> AsExpression<Nullable<Uuid>> for &'expr Uuid
Available on crate features
uuid
and postgres_backend
only.type Expression = Bound<Nullable<Uuid>, &'expr Uuid>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<SmallInt> for &'expr2 &'expr i16
impl<'expr2, 'expr> AsExpression<SmallInt> for &'expr2 &'expr i16
type Expression = Bound<SmallInt, &'expr2 &'expr i16>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Integer> for &'expr i32
impl<'expr> AsExpression<Integer> for &'expr i32
type Expression = Bound<Integer, &'expr i32>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Float>> for &'expr2 &'expr f32
impl<'expr2, 'expr> AsExpression<Nullable<Float>> for &'expr2 &'expr f32
type Expression = Bound<Nullable<Float>, &'expr2 &'expr f32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr u64
impl<'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr u64
type Expression = Bound<Nullable<Unsigned<BigInt>>, &'expr u64>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Cidr> for &'expr IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl<'expr> AsExpression<Cidr> for &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Cidr, &'expr IpNetwork>
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
) only.
impl<'expr> AsExpression<Nullable<Jsonb>> for &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Nullable<Jsonb>, &'expr Value>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamp> for &'expr str
impl<'expr> AsExpression<Timestamp> for &'expr str
type Expression = Bound<Timestamp, &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr NaiveDate
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr NaiveDate
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Date>, &'expr2 &'expr NaiveDate>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Text> for &'expr String
impl<'expr> AsExpression<Text> for &'expr String
type Expression = Bound<Text, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamp> for &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Timestamp> for &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamp, &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Unsigned<Integer>> for &'expr2 &'expr u32
impl<'expr2, 'expr> AsExpression<Unsigned<Integer>> for &'expr2 &'expr u32
type Expression = Bound<Unsigned<Integer>, &'expr2 &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Cidr> for &'expr2 &'expr IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Cidr> for &'expr2 &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Cidr, &'expr2 &'expr IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Integer> for i32
impl AsExpression<Integer> for i32
type Expression = Bound<Integer, i32>
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
) only.
impl<'expr> AsExpression<Json> for &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Json, &'expr Value>
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.
impl<'expr> AsExpression<Nullable<Cidr>> for &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Nullable<Cidr>, &'expr IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamptz> for &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Timestamptz> for &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Binary>> for &'expr Vec<u8>
impl<'expr> AsExpression<Nullable<Binary>> for &'expr Vec<u8>
type Expression = Bound<Nullable<Binary>, &'expr Vec<u8, Global>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Jsonb>> for Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl AsExpression<Nullable<Jsonb>> for Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Nullable<Jsonb>, Value>
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.
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.type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression)>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Oid> for &'expr u32
impl<'expr> AsExpression<Oid> for &'expr u32
type Expression = Bound<Oid, &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamptz> for &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Timestamptz> for &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Datetime> for OffsetDateTime
Available on crate feature time
only.
impl AsExpression<Datetime> for OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Datetime, OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Integer>> for i32
impl AsExpression<Nullable<Integer>> for i32
type Expression = Bound<Nullable<Integer>, i32>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Unsigned<SmallInt>> for u16
impl AsExpression<Unsigned<SmallInt>> for u16
type Expression = Bound<Unsigned<SmallInt>, u16>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Time>> for &'expr str
impl<'expr> AsExpression<Nullable<Time>> for &'expr str
type Expression = Bound<Nullable<Time>, &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Datetime, &'expr2 &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Time>> for NaiveTime
Available on crate feature time
only.
impl AsExpression<Nullable<Time>> for NaiveTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Time>, Time>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<MacAddr> for &'expr [u8; 6]
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<MacAddr> for &'expr [u8; 6]
Available on crate feature
postgres_backend
only.type Expression = Bound<MacAddr, &'expr [u8; 6]>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3)>>,
Available on crate feature postgres_backend
only.
impl<T0, T1, T2, T3, ST0, ST1, ST2, ST3> AsExpression<Record<(ST0, ST1, ST2, ST3)>> for (T0, T1, T2, T3)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3)>>,
Available on crate feature
postgres_backend
only.type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression, <T3 as AsExpression<ST3>>::Expression)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64
impl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64
type Expression = Bound<Unsigned<BigInt>, &'expr2 &'expr u64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Unsigned<TinyInt>>> for u8
impl AsExpression<Nullable<Unsigned<TinyInt>>> for u8
type Expression = Bound<Nullable<Unsigned<TinyInt>>, u8>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr String
type Expression = Bound<Time, &'expr2 &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime
Available on crate feature
time
only.type Expression = Bound<Time, &'expr2 &'expr Time>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Datetime>> for PrimitiveDateTime
Available on crate feature time
only.
impl AsExpression<Nullable<Datetime>> for PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Datetime>, PrimitiveDateTime>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for &'a [T]
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Array<ST>>, &'a [T]>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, &'expr2 &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>
Available on crate feature chrono
only.
impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<TinyInt> for i8
impl AsExpression<TinyInt> for i8
type Expression = Bound<TinyInt, i8>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<BigInt>> for i64
impl AsExpression<Nullable<BigInt>> for i64
type Expression = Bound<Nullable<BigInt>, i64>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Binary> for Vec<u8>
impl AsExpression<Binary> for Vec<u8>
type Expression = Bound<Binary, Vec<u8, Global>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Date> for &'expr NaiveDate
Available on crate feature chrono
only.
impl<'expr> AsExpression<Date> for &'expr NaiveDate
Available on crate feature
chrono
only.type Expression = Bound<Date, &'expr NaiveDate>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Date>> for &'expr str
impl<'expr> AsExpression<Nullable<Date>> for &'expr str
type Expression = Bound<Nullable<Date>, &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Text>> for &'expr str
impl<'expr> AsExpression<Nullable<Text>> for &'expr str
type Expression = Bound<Nullable<Text>, &'expr str>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
ST9: SqlType + TypedExpressionType,
ST10: SqlType + TypedExpressionType,
ST11: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
T9: AsExpression<ST9>,
T10: AsExpression<ST10>,
T11: AsExpression<ST11>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, ST9: SqlType + TypedExpressionType, ST10: SqlType + TypedExpressionType, ST11: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, T9: AsExpression<ST9>, T10: AsExpression<ST10>, T11: AsExpression<ST11>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>>,
Available on crate feature
postgres_backend
only.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)>
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.
impl<'expr> AsExpression<Nullable<Inet>> for &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Nullable<Inet>, &'expr IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamp>, &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Double>> for &'expr f64
impl<'expr> AsExpression<Nullable<Double>> for &'expr f64
type Expression = Bound<Nullable<Double>, &'expr f64>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr NaiveDate
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr NaiveDate
Available on crate feature
chrono
only.type Expression = Bound<Date, &'expr2 &'expr NaiveDate>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Date> for &'expr NaiveDate
Available on crate feature time
only.
impl<'expr> AsExpression<Date> for &'expr NaiveDate
Available on crate feature
time
only.type Expression = Bound<Date, &'expr Date>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Unsigned<TinyInt>> for &'expr2 &'expr u8
impl<'expr2, 'expr> AsExpression<Unsigned<TinyInt>> for &'expr2 &'expr u8
type Expression = Bound<Unsigned<TinyInt>, &'expr2 &'expr u8>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr2 &'expr u16
impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr2 &'expr u16
type Expression = Bound<Nullable<Unsigned<SmallInt>>, &'expr2 &'expr u16>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Datetime> for &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Datetime> for &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Datetime, &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Oid> for u32
impl AsExpression<Oid> for u32
type Expression = Bound<Oid, u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, &'expr DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<TinyInt> for &'expr i8
impl<'expr> AsExpression<TinyInt> for &'expr i8
type Expression = Bound<TinyInt, &'expr i8>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Array<ST>> for Vec<T>
Available on crate feature
postgres_backend
only.type Expression = Bound<Array<ST>, Vec<T, Global>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr SystemTime
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr SystemTime
type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr SystemTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamptz> for &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Timestamptz> for &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Unsigned<Integer>> for &'expr u32
impl<'expr> AsExpression<Unsigned<Integer>> for &'expr u32
type Expression = Bound<Unsigned<Integer>, &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Unsigned<TinyInt>> for u8
impl AsExpression<Unsigned<TinyInt>> for u8
type Expression = Bound<Unsigned<TinyInt>, u8>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>>,
Available on crate feature
postgres_backend
only.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)>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate
Available on crate feature
time
only.type Expression = Bound<Nullable<Date>, &'expr Date>
fn as_expression(self) -> Self::Expression
source§impl<T0, T1, T2, ST0, ST1, ST2> AsExpression<Record<(ST0, ST1, ST2)>> for (T0, T1, T2)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2)>>,
Available on crate feature postgres_backend
only.
impl<T0, T1, T2, ST0, ST1, ST2> AsExpression<Record<(ST0, ST1, ST2)>> for (T0, T1, T2)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, PgTuple<(T0::Expression, T1::Expression, T2::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2)>>,
Available on crate feature
postgres_backend
only.type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression, <T1 as AsExpression<ST1>>::Expression, <T2 as AsExpression<ST2>>::Expression)>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>>,
Available on crate feature
postgres_backend
only.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)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Text> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Text> for &'expr2 &'expr str
type Expression = Bound<Text, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Jsonb> for Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl AsExpression<Jsonb> for Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Jsonb, Value>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Array<ST>> for &'a [T]
Available on crate feature
postgres_backend
only.type Expression = Bound<Array<ST>, &'a [T]>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Double>> for &'expr2 &'expr f64
impl<'expr2, 'expr> AsExpression<Nullable<Double>> for &'expr2 &'expr f64
type Expression = Bound<Nullable<Double>, &'expr2 &'expr f64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Date> for NaiveDate
Available on crate feature chrono
only.
impl AsExpression<Date> for NaiveDate
Available on crate feature
chrono
only.type Expression = Bound<Date, NaiveDate>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Uuid> for &'expr Uuid
Available on crate features uuid
and postgres_backend
only.
impl<'expr> AsExpression<Uuid> for &'expr Uuid
Available on crate features
uuid
and postgres_backend
only.type Expression = Bound<Uuid, &'expr Uuid>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<SmallInt> for i16
impl AsExpression<SmallInt> for i16
type Expression = Bound<SmallInt, i16>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Text> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Text> for &'expr2 &'expr String
type Expression = Bound<Text, &'expr2 &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
ST9: SqlType + TypedExpressionType,
ST10: SqlType + TypedExpressionType,
ST11: SqlType + TypedExpressionType,
ST12: SqlType + TypedExpressionType,
ST13: SqlType + TypedExpressionType,
ST14: SqlType + TypedExpressionType,
ST15: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
T9: AsExpression<ST9>,
T10: AsExpression<ST10>,
T11: AsExpression<ST11>,
T12: AsExpression<ST12>,
T13: AsExpression<ST13>,
T14: AsExpression<ST14>,
T15: AsExpression<ST15>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression, T13::Expression, T14::Expression, T15::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>>,
Available on crate feature postgres_backend
only.
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, ST9: SqlType + TypedExpressionType, ST10: SqlType + TypedExpressionType, ST11: SqlType + TypedExpressionType, ST12: SqlType + TypedExpressionType, ST13: SqlType + TypedExpressionType, ST14: SqlType + TypedExpressionType, ST15: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, T9: AsExpression<ST9>, T10: AsExpression<ST10>, T11: AsExpression<ST11>, T12: AsExpression<ST12>, T13: AsExpression<ST13>, T14: AsExpression<ST14>, T15: AsExpression<ST15>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression, T13::Expression, T14::Expression, T15::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>>,
Available on crate feature
postgres_backend
only.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, <T12 as AsExpression<ST12>>::Expression, <T13 as AsExpression<ST13>>::Expression, <T14 as AsExpression<ST14>>::Expression, <T15 as AsExpression<ST15>>::Expression)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr BigDecimal
Available on crate feature bigdecimal
only.
impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr BigDecimal
Available on crate feature
bigdecimal
only.type Expression = Bound<Nullable<Numeric>, &'expr2 &'expr BigDecimal>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Array<ST>> for &'a &'b [T]
Available on crate feature
postgres_backend
only.type Expression = Bound<Array<ST>, &'a &'b [T]>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Time> for NaiveTime
Available on crate feature chrono
only.
impl AsExpression<Time> for NaiveTime
Available on crate feature
chrono
only.type Expression = Bound<Time, NaiveTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr String
type Expression = Bound<Date, &'expr2 &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Bool>> for &'expr2 &'expr bool
impl<'expr2, 'expr> AsExpression<Nullable<Bool>> for &'expr2 &'expr bool
type Expression = Bound<Nullable<Bool>, &'expr2 &'expr bool>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Datetime>> for OffsetDateTime
Available on crate feature time
only.
impl AsExpression<Nullable<Datetime>> for OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Datetime>, OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<TinyInt>>> for &'expr2 &'expr u8
impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<TinyInt>>> for &'expr2 &'expr u8
type Expression = Bound<Nullable<Unsigned<TinyInt>>, &'expr2 &'expr u8>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<TinyInt> for &'expr2 &'expr i8
impl<'expr2, 'expr> AsExpression<TinyInt> for &'expr2 &'expr i8
type Expression = Bound<TinyInt, &'expr2 &'expr i8>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Time>, &'expr2 &'expr String>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for &'a Vec<T>
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Array<ST>>, &'a Vec<T, Global>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<BigInt>> for &'expr2 &'expr i64
impl<'expr2, 'expr> AsExpression<Nullable<BigInt>> for &'expr2 &'expr i64
type Expression = Bound<Nullable<BigInt>, &'expr2 &'expr i64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamp>> for String
impl AsExpression<Nullable<Timestamp>> for String
type Expression = Bound<Nullable<Timestamp>, String>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Oid>> for &'expr u32
impl<'expr> AsExpression<Nullable<Oid>> for &'expr u32
type Expression = Bound<Nullable<Oid>, &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Text>, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Integer> for &'expr2 &'expr i32
impl<'expr2, 'expr> AsExpression<Integer> for &'expr2 &'expr i32
type Expression = Bound<Integer, &'expr2 &'expr i32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Json>> for &'expr Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl<'expr> AsExpression<Nullable<Json>> for &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Nullable<Json>, &'expr Value>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Numeric>> for &'expr BigDecimal
Available on crate feature bigdecimal
only.
impl<'expr> AsExpression<Nullable<Numeric>> for &'expr BigDecimal
Available on crate feature
bigdecimal
only.type Expression = Bound<Nullable<Numeric>, &'expr BigDecimal>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamp> for PrimitiveDateTime
Available on crate feature time
only.
impl AsExpression<Timestamp> for PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamp, PrimitiveDateTime>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
ST9: SqlType + TypedExpressionType,
ST10: SqlType + TypedExpressionType,
ST11: SqlType + TypedExpressionType,
ST12: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
T9: AsExpression<ST9>,
T10: AsExpression<ST10>,
T11: AsExpression<ST11>,
T12: AsExpression<ST12>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, ST9: SqlType + TypedExpressionType, ST10: SqlType + TypedExpressionType, ST11: SqlType + TypedExpressionType, ST12: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, T9: AsExpression<ST9>, T10: AsExpression<ST10>, T11: AsExpression<ST11>, T12: AsExpression<ST12>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>>,
Available on crate feature
postgres_backend
only.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, <T12 as AsExpression<ST12>>::Expression)>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamptz> for OffsetDateTime
Available on crate feature time
only.
impl AsExpression<Timestamptz> for OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, &'expr DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Timestamp, &'expr2 &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Float>> for &'expr f32
impl<'expr> AsExpression<Nullable<Float>> for &'expr f32
type Expression = Bound<Nullable<Float>, &'expr f32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Date>> for &'expr String
impl<'expr> AsExpression<Nullable<Date>> for &'expr String
type Expression = Bound<Nullable<Date>, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Cidr>> for &'expr2 &'expr IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Cidr>> for &'expr2 &'expr IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Nullable<Cidr>, &'expr2 &'expr IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Text> for String
impl AsExpression<Text> for String
type Expression = Bound<Text, String>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Time> for &'expr NaiveTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Time> for &'expr NaiveTime
Available on crate feature
chrono
only.type Expression = Bound<Time, &'expr NaiveTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime
Available on crate feature time
only.
impl AsExpression<Nullable<Timestamptz>> for OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamptz>, OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr NaiveTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr NaiveTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Time>, &'expr2 &'expr NaiveTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<CChar> for &'expr u8
impl<'expr> AsExpression<CChar> for &'expr u8
type Expression = Bound<CChar, &'expr u8>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5)>>,
Available on crate feature
postgres_backend
only.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)>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for &'a &'b Vec<T>
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Array<ST>>, &'a &'b Vec<T, Global>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Bool> for &'expr2 &'expr bool
impl<'expr2, 'expr> AsExpression<Bool> for &'expr2 &'expr bool
type Expression = Bound<Bool, &'expr2 &'expr bool>
fn as_expression(self) -> Self::Expression
source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
ST9: SqlType + TypedExpressionType,
ST10: SqlType + TypedExpressionType,
ST11: SqlType + TypedExpressionType,
ST12: SqlType + TypedExpressionType,
ST13: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
T9: AsExpression<ST9>,
T10: AsExpression<ST10>,
T11: AsExpression<ST11>,
T12: AsExpression<ST12>,
T13: AsExpression<ST13>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression, T13::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>>,
Available on crate feature postgres_backend
only.
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, ST9: SqlType + TypedExpressionType, ST10: SqlType + TypedExpressionType, ST11: SqlType + TypedExpressionType, ST12: SqlType + TypedExpressionType, ST13: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, T9: AsExpression<ST9>, T10: AsExpression<ST10>, T11: AsExpression<ST11>, T12: AsExpression<ST12>, T13: AsExpression<ST13>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression, T10::Expression, T11::Expression, T12::Expression, T13::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>>,
Available on crate feature
postgres_backend
only.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, <T12 as AsExpression<ST12>>::Expression, <T13 as AsExpression<ST13>>::Expression)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Binary> for &'expr2 &'expr Vec<u8>
impl<'expr2, 'expr> AsExpression<Binary> for &'expr2 &'expr Vec<u8>
type Expression = Bound<Binary, &'expr2 &'expr Vec<u8, Global>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Float> for f32
impl AsExpression<Float> for f32
type Expression = Bound<Float, f32>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Time> for String
impl AsExpression<Time> for String
type Expression = Bound<Time, String>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Timestamp> for &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Timestamp> for &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Timestamp, &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<MacAddr> for &'expr2 &'expr [u8; 6]
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<MacAddr> for &'expr2 &'expr [u8; 6]
Available on crate feature
postgres_backend
only.type Expression = Bound<MacAddr, &'expr2 &'expr [u8; 6]>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Array<ST>> for &'a Vec<T>
Available on crate feature
postgres_backend
only.type Expression = Bound<Array<ST>, &'a Vec<T, Global>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<CChar> for u8
impl AsExpression<CChar> for u8
type Expression = Bound<CChar, u8>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Bool>> for bool
impl AsExpression<Nullable<Bool>> for bool
type Expression = Bound<Nullable<Bool>, bool>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Inet> for IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl AsExpression<Inet> for IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Inet, IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Oid> for &'expr2 &'expr u32
impl<'expr2, 'expr> AsExpression<Oid> for &'expr2 &'expr u32
type Expression = Bound<Oid, &'expr2 &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr2 &'expr u64
impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr2 &'expr u64
type Expression = Bound<Nullable<Unsigned<BigInt>>, &'expr2 &'expr u64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamptz>> for NaiveDateTime
Available on crate feature chrono
only.
impl AsExpression<Nullable<Timestamptz>> for NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Bool> for &'expr bool
impl<'expr> AsExpression<Bool> for &'expr bool
type Expression = Bound<Bool, &'expr bool>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, &'expr2 &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
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,
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,
type Expression = Bound<ST, Cow<'a, T>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamp> for SystemTime
impl AsExpression<Timestamp> for SystemTime
type Expression = Bound<Timestamp, SystemTime>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4)>>,
Available on crate feature postgres_backend
only.
impl<T0, T1, T2, T3, T4, ST0, ST1, ST2, ST3, ST4> AsExpression<Record<(ST0, ST1, ST2, ST3, ST4)>> for (T0, T1, T2, T3, T4)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4)>>,
Available on crate feature
postgres_backend
only.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)>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64
impl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64
type Expression = Bound<Unsigned<BigInt>, &'expr u64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Datetime>> for NaiveDateTime
Available on crate feature chrono
only.
impl AsExpression<Nullable<Datetime>> for NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Datetime>, NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate
Available on crate feature chrono
only.
impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Date>, &'expr NaiveDate>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Uuid> for Uuid
Available on crate features uuid
and postgres_backend
only.
impl AsExpression<Uuid> for Uuid
Available on crate features
uuid
and postgres_backend
only.type Expression = Bound<Uuid, Uuid>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr SystemTime
impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr SystemTime
type Expression = Bound<Timestamp, &'expr2 &'expr SystemTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Cidr>> for IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl AsExpression<Nullable<Cidr>> for IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Nullable<Cidr>, IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr NaiveTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr NaiveTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Time>, &'expr2 &'expr Time>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamp, &'expr2 &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Date>> for NaiveDate
Available on crate feature chrono
only.
impl AsExpression<Nullable<Date>> for NaiveDate
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Date>, NaiveDate>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr String
type Expression = Bound<Timestamp, &'expr2 &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Jsonb>> for &'expr2 &'expr Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl<'expr2, 'expr> AsExpression<Nullable<Jsonb>> for &'expr2 &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Nullable<Jsonb>, &'expr2 &'expr Value>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Double> for f64
impl AsExpression<Double> for f64
type Expression = Bound<Double, f64>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Unsigned<SmallInt>>> for u16
impl AsExpression<Nullable<Unsigned<SmallInt>>> for u16
type Expression = Bound<Nullable<Unsigned<SmallInt>>, u16>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Bool> for bool
impl AsExpression<Bool> for bool
type Expression = Bound<Bool, bool>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Datetime> for NaiveDateTime
Available on crate feature chrono
only.
impl AsExpression<Datetime> for NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Datetime, NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Integer>> for &'expr2 &'expr i32
impl<'expr2, 'expr> AsExpression<Nullable<Integer>> for &'expr2 &'expr i32
type Expression = Bound<Nullable<Integer>, &'expr2 &'expr i32>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, &'expr2 &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Time>> for &'expr String
impl<'expr> AsExpression<Nullable<Time>> for &'expr String
type Expression = Bound<Nullable<Time>, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Date>> for String
impl AsExpression<Nullable<Date>> for String
type Expression = Bound<Nullable<Date>, String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Datetime, &'expr2 &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
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,
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,
type Expression = Bound<ST, &'b T>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Datetime>> for &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Nullable<Datetime>> for &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Datetime>, &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Time>, &'expr NaiveTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr OffsetDateTime>
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.
impl<'a, 'b, ST: 'static, T> AsExpression<Nullable<Array<ST>>> for Vec<T>
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Array<ST>>, Vec<T, Global>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Text>> for String
impl AsExpression<Nullable<Text>> for String
type Expression = Bound<Nullable<Text>, String>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamptz> for PrimitiveDateTime
Available on crate feature time
only.
impl AsExpression<Timestamptz> for PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Datetime, &'expr2 &'expr PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Date> for String
impl AsExpression<Date> for String
type Expression = Bound<Date, String>
fn as_expression(self) -> Self::Expression
source§impl<ST: 'static, T> AsExpression<Nullable<Range<ST>>> for (Bound<T>, Bound<T>)
Available on crate feature postgres_backend
only.
impl<ST: 'static, T> AsExpression<Nullable<Range<ST>>> for (Bound<T>, Bound<T>)
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Range<ST>>, (Bound<T>, Bound<T>)>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Date> for &'expr String
impl<'expr> AsExpression<Date> for &'expr String
type Expression = Bound<Date, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr2 &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr2 &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, &'expr2 &'expr DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<TinyInt>> for &'expr i8
impl<'expr> AsExpression<Nullable<TinyInt>> for &'expr i8
type Expression = Bound<Nullable<TinyInt>, &'expr i8>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Datetime>> for &'expr PrimitiveDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Datetime>> for &'expr PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Datetime>, &'expr PrimitiveDateTime>
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.
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.type Expression = PgTuple<(<T0 as AsExpression<ST0>>::Expression,)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Date>, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr i16
impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr i16
type Expression = Bound<Nullable<SmallInt>, &'expr i16>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr Vec<u8>
impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr Vec<u8>
type Expression = Bound<Nullable<Binary>, &'expr2 &'expr Vec<u8, Global>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Bool>> for &'expr bool
impl<'expr> AsExpression<Nullable<Bool>> for &'expr bool
type Expression = Bound<Nullable<Bool>, &'expr bool>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<CChar>> for u8
impl AsExpression<Nullable<CChar>> for u8
type Expression = Bound<Nullable<CChar>, u8>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr NaiveDate
Available on crate feature time
only.
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr NaiveDate
Available on crate feature
time
only.type Expression = Bound<Nullable<Date>, &'expr2 &'expr Date>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Timestamptz> for OffsetDateTime
Available on crate feature time
only.
impl AsExpression<Timestamptz> for OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Timestamptz, OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, &'expr DateTime<Tz>>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
ST9: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
T9: AsExpression<ST9>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, ST9: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, T9: AsExpression<ST9>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression, T9::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>>,
Available on crate feature
postgres_backend
only.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)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64
impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64
type Expression = Bound<Double, &'expr2 &'expr f64>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Text>> for &'expr String
impl<'expr> AsExpression<Nullable<Text>> for &'expr String
type Expression = Bound<Nullable<Text>, &'expr String>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Json>> for Value
Available on crate feature serde_json
and (crate features postgres_backend
or mysql_backend
) only.
impl AsExpression<Nullable<Json>> for Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Nullable<Json>, Value>
fn as_expression(self) -> Self::Expression
source§impl<T, ST> AsExpression<Nullable<ST>> for Option<T>where
ST: SqlType<IsNull = NotNull>,
Nullable<ST>: TypedExpressionType,
impl<T, ST> AsExpression<Nullable<ST>> for Option<T>where ST: SqlType<IsNull = NotNull>, Nullable<ST>: TypedExpressionType,
type Expression = Bound<Nullable<ST>, Option<T>>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Double>> for f64
impl AsExpression<Nullable<Double>> for f64
type Expression = Bound<Nullable<Double>, f64>
fn as_expression(self) -> Self::Expression
source§impl<'a, T, ST> AsExpression<Nullable<ST>> for &'a Option<T>where
ST: SqlType<IsNull = NotNull>,
Nullable<ST>: TypedExpressionType,
impl<'a, T, ST> AsExpression<Nullable<ST>> for &'a Option<T>where ST: SqlType<IsNull = NotNull>, Nullable<ST>: TypedExpressionType,
type Expression = Bound<Nullable<ST>, &'a Option<T>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Binary>> for &'expr [u8]
impl<'expr> AsExpression<Nullable<Binary>> for &'expr [u8]
type Expression = Bound<Nullable<Binary>, &'expr [u8]>
fn as_expression(self) -> Self::Expression
source§impl<'a, ST: 'static, T> AsExpression<Range<ST>> for &'a (Bound<T>, Bound<T>)
Available on crate feature postgres_backend
only.
impl<'a, ST: 'static, T> AsExpression<Range<ST>> for &'a (Bound<T>, Bound<T>)
Available on crate feature
postgres_backend
only.type Expression = Bound<Range<ST>, &'a (Bound<T>, Bound<T>)>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Inet>> for IpNetwork
Available on crate features network-address
and postgres_backend
only.
impl AsExpression<Nullable<Inet>> for IpNetwork
Available on crate features
network-address
and postgres_backend
only.type Expression = Bound<Nullable<Inet>, IpNetwork>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<SmallInt> for &'expr i16
impl<'expr> AsExpression<SmallInt> for &'expr i16
type Expression = Bound<SmallInt, &'expr i16>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Numeric> for &'expr2 &'expr BigDecimal
Available on crate feature bigdecimal
only.
impl<'expr2, 'expr> AsExpression<Numeric> for &'expr2 &'expr BigDecimal
Available on crate feature
bigdecimal
only.type Expression = Bound<Numeric, &'expr2 &'expr BigDecimal>
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)where
ST0: SqlType + TypedExpressionType,
ST1: SqlType + TypedExpressionType,
ST2: SqlType + TypedExpressionType,
ST3: SqlType + TypedExpressionType,
ST4: SqlType + TypedExpressionType,
ST5: SqlType + TypedExpressionType,
ST6: SqlType + TypedExpressionType,
ST7: SqlType + TypedExpressionType,
ST8: SqlType + TypedExpressionType,
T0: AsExpression<ST0>,
T1: AsExpression<ST1>,
T2: AsExpression<ST2>,
T3: AsExpression<ST3>,
T4: AsExpression<ST4>,
T5: AsExpression<ST5>,
T6: AsExpression<ST6>,
T7: AsExpression<ST7>,
T8: AsExpression<ST8>,
PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>>,
Available on crate feature postgres_backend
only.
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)where ST0: SqlType + TypedExpressionType, ST1: SqlType + TypedExpressionType, ST2: SqlType + TypedExpressionType, ST3: SqlType + TypedExpressionType, ST4: SqlType + TypedExpressionType, ST5: SqlType + TypedExpressionType, ST6: SqlType + TypedExpressionType, ST7: SqlType + TypedExpressionType, ST8: SqlType + TypedExpressionType, T0: AsExpression<ST0>, T1: AsExpression<ST1>, T2: AsExpression<ST2>, T3: AsExpression<ST3>, T4: AsExpression<ST4>, T5: AsExpression<ST5>, T6: AsExpression<ST6>, T7: AsExpression<ST7>, T8: AsExpression<ST8>, PgTuple<(T0::Expression, T1::Expression, T2::Expression, T3::Expression, T4::Expression, T5::Expression, T6::Expression, T7::Expression, T8::Expression)>: Expression<SqlType = Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>>,
Available on crate feature
postgres_backend
only.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)>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<SmallInt>> for &'expr2 &'expr i16
impl<'expr2, 'expr> AsExpression<Nullable<SmallInt>> for &'expr2 &'expr i16
type Expression = Bound<Nullable<SmallInt>, &'expr2 &'expr i16>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr DateTime<Tz>
Available on crate feature chrono
only.
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr u16
impl<'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr u16
type Expression = Bound<Nullable<Unsigned<SmallInt>>, &'expr u16>
fn as_expression(self) -> Self::Expression
source§impl<Tz: TimeZone> AsExpression<Timestamptz> for DateTime<Tz>
Available on crate feature chrono
only.
impl<Tz: TimeZone> AsExpression<Timestamptz> for DateTime<Tz>
Available on crate feature
chrono
only.type Expression = Bound<Timestamptz, DateTime<Tz>>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr str
type Expression = Bound<Timestamp, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr SystemTime
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr SystemTime
type Expression = Bound<Nullable<Timestamp>, &'expr SystemTime>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<SmallInt>> for i16
impl AsExpression<Nullable<SmallInt>> for i16
type Expression = Bound<Nullable<SmallInt>, i16>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Datetime> for &'expr OffsetDateTime
Available on crate feature time
only.
impl<'expr> AsExpression<Datetime> for &'expr OffsetDateTime
Available on crate feature
time
only.type Expression = Bound<Datetime, &'expr OffsetDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime
Available on crate feature time
only.
impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Time>, &'expr Time>
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
) only.
impl<'expr> AsExpression<Jsonb> for &'expr Value
Available on crate feature
serde_json
and (crate features postgres_backend
or mysql_backend
) only.type Expression = Bound<Jsonb, &'expr Value>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr str
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr str
type Expression = Bound<Time, &'expr2 &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Oid>> for &'expr2 &'expr u32
impl<'expr2, 'expr> AsExpression<Nullable<Oid>> for &'expr2 &'expr u32
type Expression = Bound<Nullable<Oid>, &'expr2 &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Timestamp>> for PrimitiveDateTime
Available on crate feature time
only.
impl AsExpression<Nullable<Timestamp>> for PrimitiveDateTime
Available on crate feature
time
only.type Expression = Bound<Nullable<Timestamp>, PrimitiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr u32
impl<'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr u32
type Expression = Bound<Nullable<Unsigned<Integer>>, &'expr u32>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr NaiveDateTime
Available on crate feature chrono
only.
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr NaiveDateTime
Available on crate feature
chrono
only.type Expression = Bound<Nullable<Timestamptz>, &'expr NaiveDateTime>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Time> for &'expr NaiveTime
Available on crate feature time
only.
impl<'expr> AsExpression<Time> for &'expr NaiveTime
Available on crate feature
time
only.type Expression = Bound<Time, &'expr Time>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Date> for &'expr str
impl<'expr> AsExpression<Date> for &'expr str
type Expression = Bound<Date, &'expr str>
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16
impl<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16
type Expression = Bound<Unsigned<SmallInt>, &'expr u16>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr String
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Date>, &'expr2 &'expr String>
fn as_expression(self) -> Self::Expression
source§impl<'expr2, 'expr> AsExpression<CChar> for &'expr2 &'expr u8
impl<'expr2, 'expr> AsExpression<CChar> for &'expr2 &'expr u8
type Expression = Bound<CChar, &'expr2 &'expr u8>
fn as_expression(self) -> Self::Expression
Implementors§
source§impl AsExpression<Date> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Date> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Date, MysqlTime>
source§impl AsExpression<Date> for PgDate
Available on crate feature postgres_backend
only.
impl AsExpression<Date> for PgDate
Available on crate feature
postgres_backend
only.type Expression = Bound<Date, PgDate>
source§impl AsExpression<Datetime> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Datetime> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Datetime, MysqlTime>
source§impl AsExpression<Interval> for PgInterval
Available on crate feature postgres_backend
only.
impl AsExpression<Interval> for PgInterval
Available on crate feature
postgres_backend
only.type Expression = Bound<Interval, PgInterval>
source§impl AsExpression<Money> for PgMoney
Available on crate feature postgres_backend
only.
impl AsExpression<Money> for PgMoney
Available on crate feature
postgres_backend
only.type Expression = Bound<Money, PgMoney>
source§impl AsExpression<Nullable<Date>> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Nullable<Date>> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Date>, MysqlTime>
source§impl AsExpression<Nullable<Date>> for PgDate
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Date>> for PgDate
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Date>, PgDate>
source§impl AsExpression<Nullable<Datetime>> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Nullable<Datetime>> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Datetime>, MysqlTime>
source§impl AsExpression<Nullable<Interval>> for PgInterval
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Interval>> for PgInterval
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Interval>, PgInterval>
source§impl AsExpression<Nullable<Money>> for PgMoney
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Money>> for PgMoney
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Money>, PgMoney>
source§impl AsExpression<Nullable<Numeric>> for PgNumeric
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Numeric>> for PgNumeric
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Numeric>, PgNumeric>
source§impl AsExpression<Nullable<Time>> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Nullable<Time>> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Time>, MysqlTime>
source§impl AsExpression<Nullable<Time>> for PgTime
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Time>> for PgTime
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Time>, PgTime>
source§impl AsExpression<Nullable<Timestamp>> for now
impl AsExpression<Nullable<Timestamp>> for now
type Expression = Coerce<now, Nullable<Timestamp>>
source§impl AsExpression<Nullable<Timestamp>> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Nullable<Timestamp>> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Timestamp>, MysqlTime>
source§impl AsExpression<Nullable<Timestamp>> for PgTimestamp
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Timestamp>> for PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Timestamp>, PgTimestamp>
source§impl AsExpression<Nullable<Timestamptz>> for now
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Timestamptz>> for now
Available on crate feature
postgres_backend
only.type Expression = Coerce<now, Nullable<Timestamptz>>
source§impl AsExpression<Nullable<Timestamptz>> for PgTimestamp
Available on crate feature postgres_backend
only.
impl AsExpression<Nullable<Timestamptz>> for PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Timestamptz>, PgTimestamp>
source§impl AsExpression<Nullable<Timestamptz>> for now
Available on crate feature sqlite
only.
impl AsExpression<Nullable<Timestamptz>> for now
Available on crate feature
sqlite
only.type Expression = Coerce<now, Nullable<Timestamptz>>
source§impl AsExpression<Numeric> for PgNumeric
Available on crate feature postgres_backend
only.
impl AsExpression<Numeric> for PgNumeric
Available on crate feature
postgres_backend
only.type Expression = Bound<Numeric, PgNumeric>
source§impl AsExpression<Time> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Time> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Time, MysqlTime>
source§impl AsExpression<Time> for PgTime
Available on crate feature postgres_backend
only.
impl AsExpression<Time> for PgTime
Available on crate feature
postgres_backend
only.type Expression = Bound<Time, PgTime>
source§impl AsExpression<Timestamp> for MysqlTime
Available on crate feature mysql_backend
only.
impl AsExpression<Timestamp> for MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Timestamp, MysqlTime>
source§impl AsExpression<Timestamp> for PgTimestamp
Available on crate feature postgres_backend
only.
impl AsExpression<Timestamp> for PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Timestamp, PgTimestamp>
source§impl AsExpression<Timestamptz> for now
Available on crate feature postgres_backend
only.
impl AsExpression<Timestamptz> for now
Available on crate feature
postgres_backend
only.type Expression = Coerce<now, Timestamptz>
source§impl AsExpression<Timestamptz> for PgTimestamp
Available on crate feature postgres_backend
only.
impl AsExpression<Timestamptz> for PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Timestamptz, PgTimestamp>
source§impl AsExpression<Timestamptz> for now
Available on crate feature sqlite
only.
impl AsExpression<Timestamptz> for now
Available on crate feature
sqlite
only.type Expression = Coerce<now, Timestamptz>
source§impl<'a> AsExpression<Nullable<Text>> for MigrationVersion<'a>
impl<'a> AsExpression<Nullable<Text>> for MigrationVersion<'a>
type Expression = Bound<Nullable<Text>, MigrationVersion<'a>>
source§impl<'a> AsExpression<Text> for MigrationVersion<'a>
impl<'a> AsExpression<Text> for MigrationVersion<'a>
type Expression = Bound<Text, MigrationVersion<'a>>
source§impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Date, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr PgDate
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Date> for &'expr2 &'expr PgDate
Available on crate feature
postgres_backend
only.type Expression = Bound<Date, &'expr2 &'expr PgDate>
source§impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Datetime, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Interval> for &'expr2 &'expr PgInterval
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Interval> for &'expr2 &'expr PgInterval
Available on crate feature
postgres_backend
only.type Expression = Bound<Interval, &'expr2 &'expr PgInterval>
source§impl<'expr2, 'expr> AsExpression<Money> for &'expr2 &'expr PgMoney
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Money> for &'expr2 &'expr PgMoney
Available on crate feature
postgres_backend
only.type Expression = Bound<Money, &'expr2 &'expr PgMoney>
source§impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Date>, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr PgDate
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr PgDate
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Date>, &'expr2 &'expr PgDate>
source§impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Datetime>, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Nullable<Interval>> for &'expr2 &'expr PgInterval
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Interval>> for &'expr2 &'expr PgInterval
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Interval>, &'expr2 &'expr PgInterval>
source§impl<'expr2, 'expr> AsExpression<Nullable<Money>> for &'expr2 &'expr PgMoney
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Money>> for &'expr2 &'expr PgMoney
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Money>, &'expr2 &'expr PgMoney>
source§impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr PgNumeric
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr PgNumeric
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Numeric>, &'expr2 &'expr PgNumeric>
source§impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Time>, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr PgTime
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr PgTime
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Time>, &'expr2 &'expr PgTime>
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Timestamp>, &'expr2 &'expr PgTimestamp>
source§impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Timestamptz>, &'expr2 &'expr PgTimestamp>
source§impl<'expr2, 'expr> AsExpression<Numeric> for &'expr2 &'expr PgNumeric
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Numeric> for &'expr2 &'expr PgNumeric
Available on crate feature
postgres_backend
only.type Expression = Bound<Numeric, &'expr2 &'expr PgNumeric>
source§impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Time, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr PgTime
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr PgTime
Available on crate feature
postgres_backend
only.type Expression = Bound<Time, &'expr2 &'expr PgTime>
source§impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Timestamp, &'expr2 &'expr MysqlTime>
source§impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Timestamp, &'expr2 &'expr PgTimestamp>
source§impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Timestamptz, &'expr2 &'expr PgTimestamp>
source§impl<'expr2, 'expr, 'a> AsExpression<Nullable<Text>> for &'expr2 &'expr MigrationVersion<'a>
impl<'expr2, 'expr, 'a> AsExpression<Nullable<Text>> for &'expr2 &'expr MigrationVersion<'a>
type Expression = Bound<Nullable<Text>, &'expr2 &'expr MigrationVersion<'a>>
source§impl<'expr2, 'expr, 'a> AsExpression<Text> for &'expr2 &'expr MigrationVersion<'a>
impl<'expr2, 'expr, 'a> AsExpression<Text> for &'expr2 &'expr MigrationVersion<'a>
type Expression = Bound<Text, &'expr2 &'expr MigrationVersion<'a>>
source§impl<'expr> AsExpression<Date> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Date> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Date, &'expr MysqlTime>
source§impl<'expr> AsExpression<Date> for &'expr PgDate
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Date> for &'expr PgDate
Available on crate feature
postgres_backend
only.type Expression = Bound<Date, &'expr PgDate>
source§impl<'expr> AsExpression<Datetime> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Datetime> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Datetime, &'expr MysqlTime>
source§impl<'expr> AsExpression<Interval> for &'expr PgInterval
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Interval> for &'expr PgInterval
Available on crate feature
postgres_backend
only.type Expression = Bound<Interval, &'expr PgInterval>
source§impl<'expr> AsExpression<Money> for &'expr PgMoney
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Money> for &'expr PgMoney
Available on crate feature
postgres_backend
only.type Expression = Bound<Money, &'expr PgMoney>
source§impl<'expr> AsExpression<Nullable<Date>> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Nullable<Date>> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Date>, &'expr MysqlTime>
source§impl<'expr> AsExpression<Nullable<Date>> for &'expr PgDate
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<Date>> for &'expr PgDate
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Date>, &'expr PgDate>
source§impl<'expr> AsExpression<Nullable<Datetime>> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Nullable<Datetime>> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Datetime>, &'expr MysqlTime>
source§impl<'expr> AsExpression<Nullable<Interval>> for &'expr PgInterval
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<Interval>> for &'expr PgInterval
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Interval>, &'expr PgInterval>
source§impl<'expr> AsExpression<Nullable<Money>> for &'expr PgMoney
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<Money>> for &'expr PgMoney
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Money>, &'expr PgMoney>
source§impl<'expr> AsExpression<Nullable<Numeric>> for &'expr PgNumeric
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<Numeric>> for &'expr PgNumeric
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Numeric>, &'expr PgNumeric>
source§impl<'expr> AsExpression<Nullable<Time>> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Nullable<Time>> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Time>, &'expr MysqlTime>
source§impl<'expr> AsExpression<Nullable<Time>> for &'expr PgTime
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<Time>> for &'expr PgTime
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Time>, &'expr PgTime>
source§impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Nullable<Timestamp>, &'expr MysqlTime>
source§impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Timestamp>, &'expr PgTimestamp>
source§impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Nullable<Timestamptz>, &'expr PgTimestamp>
source§impl<'expr> AsExpression<Numeric> for &'expr PgNumeric
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Numeric> for &'expr PgNumeric
Available on crate feature
postgres_backend
only.type Expression = Bound<Numeric, &'expr PgNumeric>
source§impl<'expr> AsExpression<Time> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Time> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Time, &'expr MysqlTime>
source§impl<'expr> AsExpression<Time> for &'expr PgTime
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Time> for &'expr PgTime
Available on crate feature
postgres_backend
only.type Expression = Bound<Time, &'expr PgTime>
source§impl<'expr> AsExpression<Timestamp> for &'expr MysqlTime
Available on crate feature mysql_backend
only.
impl<'expr> AsExpression<Timestamp> for &'expr MysqlTime
Available on crate feature
mysql_backend
only.type Expression = Bound<Timestamp, &'expr MysqlTime>
source§impl<'expr> AsExpression<Timestamp> for &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Timestamp> for &'expr PgTimestamp
Available on crate feature
postgres_backend
only.type Expression = Bound<Timestamp, &'expr PgTimestamp>
source§impl<'expr> AsExpression<Timestamptz> for &'expr PgTimestamp
Available on crate feature postgres_backend
only.
impl<'expr> AsExpression<Timestamptz> for &'expr PgTimestamp
Available on crate feature
postgres_backend
only.