Pg

Struct Pg 

Source
pub struct Pg;
Available on crate feature postgres_backend only.
Expand description

The PostgreSQL backend

Trait Implementations§

Source§

impl Backend for Pg

Source§

type QueryBuilder = PgQueryBuilder

The concrete QueryBuilder implementation for this backend.
Source§

type RawValue<'a> = PgValue<'a>

The actual type given to FromSql, with lifetimes applied. This type should not be used directly.
Source§

type BindCollector<'a> = RawBytesBindCollector<Pg>

The concrete BindCollector implementation for this backend. Read more
Source§

impl Clone for Pg

Source§

fn clone(&self) -> Pg

Returns a duplicate of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Pg

Source§

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

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

impl Default for Pg

Source§

fn default() -> Pg

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

impl<T, ST> FromSql<Array<ST>, Pg> for Vec<T>
where T: FromSql<ST, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<BigInt, Pg> for i64

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Binary, Pg> for *const [u8]

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of Vec<u8>, but don’t want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Bool, Pg> for bool

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<CChar, Pg> for u8

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Cidr, Pg> for IpNetwork

Available on crate feature network-address only.
Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Citext, Pg> for String

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Date, Pg> for Date

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Date, Pg> for NaiveDate

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Date, Pg> for PgDate

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Double, Pg> for f64

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Float, Pg> for f32

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Inet, Pg> for IpNetwork

Available on crate feature network-address only.
Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Integer, Pg> for i32

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Interval, Pg> for PgInterval

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Interval, Pg> for Duration

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Json, Pg> for Value

Available on crate feature serde_json only.
Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Jsonb, Pg> for Value

Available on crate feature serde_json only.
Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<MacAddr, Pg> for [u8; 6]

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<MacAddr8, Pg> for [u8; 8]

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Money, Pg> for PgMoney

Source§

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

See the trait documentation.
Source§

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

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

impl<T, ST> FromSql<Multirange<ST>, Pg> for Vec<(Bound<T>, Bound<T>)>
where T: FromSql<ST, Pg> + Defaultable,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Numeric, Pg> for BigDecimal

Available on crate feature numeric only.
Source§

fn from_sql(numeric: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Numeric, Pg> for PgNumeric

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Oid, Pg> for u32

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<PgLsn, Pg> for PgLsn

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, ST> FromSql<Range<ST>, Pg> for (Bound<T>, Bound<T>)
where T: FromSql<ST, Pg> + Defaultable,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, ST> FromSql<Record<(ST,)>, Pg> for (T,)
where T: FromSql<ST, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, ST, ST1> FromSql<Record<(ST, ST1)>, Pg> for (T, T1)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, ST, ST1, ST2> FromSql<Record<(ST, ST1, ST2)>, Pg> for (T, T1, T2)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, ST, ST1, ST2, ST3> FromSql<Record<(ST, ST1, ST2, ST3)>, Pg> for (T, T1, T2, T3)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, ST, ST1, ST2, ST3, ST4> FromSql<Record<(ST, ST1, ST2, ST3, ST4)>, Pg> for (T, T1, T2, T3, T4)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, ST, ST1, ST2, ST3, ST4, ST5> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5)>, Pg> for (T, T1, T2, T3, T4, T5)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, ST, ST1, ST2, ST3, ST4, ST5, ST6> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>, Pg> for (T, T1, T2, T3, T4, T5, T6)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>, T9: FromSql<ST9, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>, T9: FromSql<ST9, Pg>, T10: FromSql<ST10, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>, T9: FromSql<ST9, Pg>, T10: FromSql<ST10, Pg>, T11: FromSql<ST11, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>, T9: FromSql<ST9, Pg>, T10: FromSql<ST10, Pg>, T11: FromSql<ST11, Pg>, T12: FromSql<ST12, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>, T9: FromSql<ST9, Pg>, T10: FromSql<ST10, Pg>, T11: FromSql<ST11, Pg>, T12: FromSql<ST12, Pg>, T13: FromSql<ST13, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>, T9: FromSql<ST9, Pg>, T10: FromSql<ST10, Pg>, T11: FromSql<ST11, Pg>, T12: FromSql<ST12, Pg>, T13: FromSql<ST13, Pg>, T14: FromSql<ST14, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15> FromSql<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T: FromSql<ST, Pg>, T1: FromSql<ST1, Pg>, T2: FromSql<ST2, Pg>, T3: FromSql<ST3, Pg>, T4: FromSql<ST4, Pg>, T5: FromSql<ST5, Pg>, T6: FromSql<ST6, Pg>, T7: FromSql<ST7, Pg>, T8: FromSql<ST8, Pg>, T9: FromSql<ST9, Pg>, T10: FromSql<ST10, Pg>, T11: FromSql<ST11, Pg>, T12: FromSql<ST12, Pg>, T13: FromSql<ST13, Pg>, T14: FromSql<ST14, Pg>, T15: FromSql<ST15, Pg>,

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<SmallInt, Pg> for i16

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Text, Pg> for *const str

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of String, but don’t want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl FromSql<Time, Pg> for NaiveTime

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Time, Pg> for PgTime

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Time, Pg> for Time

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamp, Pg> for NaiveDateTime

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamp, Pg> for PgTimestamp

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamp, Pg> for PrimitiveDateTime

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamp, Pg> for SystemTime

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamptz, Pg> for DateTime<Local>

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamptz, Pg> for DateTime<Utc>

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamptz, Pg> for NaiveDateTime

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamptz, Pg> for OffsetDateTime

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamptz, Pg> for PgTimestamp

Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Timestamptz, Pg> for PrimitiveDateTime

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

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

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

impl FromSql<Uuid, Pg> for Uuid

Available on crate feature uuid only.
Source§

fn from_sql(value: PgValue<'_>) -> Result<Self>

See the trait documentation.
Source§

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

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

impl<T> HasSqlType<Array<T>> for Pg
where Pg: HasSqlType<T>,

Source§

fn metadata(lookup: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<BigInt> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Binary> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Bool> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<CChar> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Cidr> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Citext> for Pg

Source§

fn metadata(lookup: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Date> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Double> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Float> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Inet> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Integer> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Interval> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Json> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Jsonb> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<MacAddr> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<MacAddr8> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Money> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Multirange<BigInt>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Multirange<Date>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Multirange<Integer>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Multirange<Numeric>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Multirange<Timestamp>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Multirange<Timestamptz>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<NullValueTreatmentEnum> for Pg

Source§

fn metadata(lookup: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Numeric> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Oid> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<PgLsn> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Range<BigInt>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Range<Date>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Range<Integer>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Range<Numeric>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Range<Timestamp>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Range<Timestamptz>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<RangeBoundEnum> for Pg

Source§

fn metadata(lookup: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl<ST: 'static> HasSqlType<Record<ST>> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<SmallInt> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Text> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Time> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Timestamp> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Timestamptz> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl HasSqlType<Uuid> for Pg

Source§

fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata

Fetch the metadata for the given type Read more
Source§

impl Hash for Pg

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl KnownCastSqlTypeName<Pg> for Bool

Source§

const SQL_TYPE_NAME: &'static str = "bool"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Date

Source§

const SQL_TYPE_NAME: &'static str = "date"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Double

Source§

const SQL_TYPE_NAME: &'static str = "float8"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Float

Source§

const SQL_TYPE_NAME: &'static str = "float4"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Interval

Source§

const SQL_TYPE_NAME: &'static str = "interval"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Json

Source§

const SQL_TYPE_NAME: &'static str = "json"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Jsonb

Source§

const SQL_TYPE_NAME: &'static str = "jsonb"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Numeric

Source§

const SQL_TYPE_NAME: &'static str = "numeric"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Text

Source§

const SQL_TYPE_NAME: &'static str = "text"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Time

Source§

const SQL_TYPE_NAME: &'static str = "time"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Timestamp

Source§

const SQL_TYPE_NAME: &'static str = "timestamp"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl KnownCastSqlTypeName<Pg> for Uuid

Source§

const SQL_TYPE_NAME: &'static str = "uuid"

What to write as sql_type in the CAST(expr AS sql_type) SQL for Self
Source§

impl PartialEq for Pg

Source§

fn eq(&self, other: &Pg) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl QueryBuilder<Pg> for PgQueryBuilder

Source§

fn push_sql(&mut self, sql: &str)

Add sql to the end of the query being constructed.
Source§

fn push_identifier(&mut self, identifier: &str) -> QueryResult<()>

Quote identifier, and add it to the end of the query being constructed.
Source§

fn push_bind_param(&mut self)

Add a placeholder for a bind parameter to the end of the query being constructed.
Source§

fn push_bind_param_value_only(&mut self)

Increases the internal counter for bind parameters without adding the bind parameter itself to the query
Source§

fn finish(self) -> String

Returns the constructed SQL query.
Source§

impl<T> QueryFragment<Pg> for DistinctOnClause<T>
where T: QueryFragment<Pg>,

Source§

fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, Pg>) -> QueryResult<()>

Walk over this QueryFragment for all passes. Read more
Source§

impl<S> QueryFragment<Pg> for Only<S>
where S: QueryFragment<Pg>,

Source§

fn walk_ast<'b>(&'b self, pass: AstPass<'_, 'b, Pg>) -> QueryResult<()>

Walk over this QueryFragment for all passes. Read more
Source§

impl<S, TSM> QueryFragment<Pg> for Tablesample<S, TSM>
where S: QueryFragment<Pg>, TSM: TablesampleMethod,

Source§

fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, Pg>) -> QueryResult<()>

Walk over this QueryFragment for all passes. Read more
Source§

impl<C> QueryFragment<Pg> for TransactionBuilder<'_, C>

Source§

fn walk_ast<'b>(&'b self, out: AstPass<'_, 'b, Pg>) -> QueryResult<()>

Walk over this QueryFragment for all passes. Read more
Source§

impl Queryable<Binary, Pg> for *const [u8]

Source§

type Row = *const [u8]

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

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

Construct an instance of this type
Source§

impl<T, ST> Queryable<Range<ST>, Pg> for (Bound<T>, Bound<T>)
where T: FromSql<ST, Pg> + Defaultable,

Source§

type Row = (Bound<T>, Bound<T>)

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

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

Construct an instance of this type
Source§

impl<T, ST> Queryable<Record<(ST,)>, Pg> for (T,)
where Self: FromSql<Record<(ST,)>, Pg>,

Source§

type Row = (T,)

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

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

Construct an instance of this type
Source§

impl<T, T1, ST, ST1> Queryable<Record<(ST, ST1)>, Pg> for (T, T1)
where Self: FromSql<Record<(ST, ST1)>, Pg>,

Source§

type Row = (T, T1)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, ST, ST1, ST2> Queryable<Record<(ST, ST1, ST2)>, Pg> for (T, T1, T2)

Source§

type Row = (T, T1, T2)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, ST, ST1, ST2, ST3> Queryable<Record<(ST, ST1, ST2, ST3)>, Pg> for (T, T1, T2, T3)

Source§

type Row = (T, T1, T2, T3)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, ST, ST1, ST2, ST3, ST4> Queryable<Record<(ST, ST1, ST2, ST3, ST4)>, Pg> for (T, T1, T2, T3, T4)

Source§

type Row = (T, T1, T2, T3, T4)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, ST, ST1, ST2, ST3, ST4, ST5> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5)>, Pg> for (T, T1, T2, T3, T4, T5)

Source§

type Row = (T, T1, T2, T3, T4, T5)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, T6, ST, ST1, ST2, ST3, ST4, ST5, ST6> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6)>, Pg> for (T, T1, T2, T3, T4, T5, T6)

Source§

type Row = (T, T1, T2, T3, T4, T5, T6)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7)

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8)

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8, T9)

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

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

Construct an instance of this type
Source§

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

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

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

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

Construct an instance of this type
Source§

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

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

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

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

Construct an instance of this type
Source§

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

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

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

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

Construct an instance of this type
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15> Queryable<Record<(ST, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>, Pg> for (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

Source§

type Row = (T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

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

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

Construct an instance of this type
Source§

impl Queryable<Text, Pg> for *const str

Source§

type Row = *const str

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

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

Construct an instance of this type
Source§

impl SqlDialect for Pg

Source§

type ReturningClause = PgLikeReturningClause

Configures how this backend supports RETURNING clauses Read more
Source§

type OnConflictClause = PgOnConflictClause

Configures how this backend supports ON CONFLICT clauses Read more
Source§

type InsertWithDefaultKeyword = IsoSqlDefaultKeyword

Configures how this backend handles the bare DEFAULT keyword for inserting the default value in a INSERT INTO VALUES clause Read more
Source§

type BatchInsertSupport = PostgresLikeBatchInsertSupport

Configures how this backend handles Batch insert statements Read more
Source§

type ConcatClause = ConcatWithPipesClause

Configures how this backend handles the Concat clauses in select statements. Read more
Source§

type DefaultValueClauseForInsert = AnsiDefaultValueClause

Configures how this backend handles the DEFAULT VALUES clause for insert statements. Read more
Source§

type EmptyFromClauseSyntax = AnsiSqlFromClauseSyntax

Configures how this backend handles empty FROM clauses for select statements. Read more
Source§

type SelectStatementSyntax = AnsiSqlSelectStatement

Configures how this backend structures SELECT queries Read more
Source§

type ExistsSyntax = AnsiSqlExistsSyntax

Configures how this backend handles EXISTS() expressions. Read more
Source§

type ArrayComparison = PgStyleArrayComparison

Configures how this backend handles IN() and NOT IN() expressions. Read more
Source§

type AliasSyntax = AsAliasSyntax

Configures how this backend structures SELECT queries Read more
Source§

type WindowFrameClauseGroupSupport = IsoGroupWindowFrameUnit

Configures how this backend support the GROUP frame unit for window functions
Source§

type WindowFrameExclusionSupport = FrameExclusionSupport

Configures how this backend supports frame exclusion clauses
Source§

type AggregateFunctionExpressions = PostgresLikeAggregateFunctionExpressions

Configures how this backend supports aggregate function expressions
Source§

type BuiltInWindowFunctionRequireOrder = NoOrderRequired

Configures whether built-in window functions require order clauses for this backend or not
Source§

impl<ST, T> ToSql<Array<ST>, Pg> for [T]
where Pg: HasSqlType<ST>, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

impl ToSql<BigInt, Pg> for i64

Source§

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

See the trait documentation.
Source§

impl ToSql<Bool, Pg> for bool

Source§

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

See the trait documentation.
Source§

impl ToSql<CChar, Pg> for u8

Source§

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

See the trait documentation.
Source§

impl ToSql<Cidr, Pg> for IpNetwork

Available on crate feature network-address only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Citext, Pg> for String

Source§

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

See the trait documentation.
Source§

impl ToSql<Citext, Pg> for str

Source§

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

See the trait documentation.
Source§

impl ToSql<Date, Pg> for Date

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Date, Pg> for NaiveDate

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Date, Pg> for PgDate

Source§

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

See the trait documentation.
Source§

impl ToSql<Double, Pg> for f64

Source§

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

See the trait documentation.
Source§

impl ToSql<Float, Pg> for f32

Source§

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

See the trait documentation.
Source§

impl ToSql<Inet, Pg> for IpNetwork

Available on crate feature network-address only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Integer, Pg> for i32

Source§

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

See the trait documentation.
Source§

impl ToSql<Interval, Pg> for PgInterval

Source§

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

See the trait documentation.
Source§

impl ToSql<Interval, Pg> for Duration

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Json, Pg> for Value

Available on crate feature serde_json only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Jsonb, Pg> for Value

Available on crate feature serde_json only.
Source§

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

See the trait documentation.
Source§

impl ToSql<MacAddr, Pg> for [u8; 6]

Source§

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

See the trait documentation.
Source§

impl ToSql<MacAddr8, Pg> for [u8; 8]

Source§

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

See the trait documentation.
Source§

impl ToSql<Money, Pg> for PgMoney

Source§

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

See the trait documentation.
Source§

impl<T, ST> ToSql<Multirange<ST>, Pg> for [(Bound<T>, Bound<T>)]
where T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Multirange<ST>, Pg> for [Range<T>]
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Multirange<ST>, Pg> for [RangeFrom<T>]
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Multirange<ST>, Pg> for [RangeInclusive<T>]
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Multirange<ST>, Pg> for [RangeTo<T>]
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Multirange<ST>, Pg> for [RangeToInclusive<T>]
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<T, ST> ToSql<Multirange<ST>, Pg> for Vec<(Bound<T>, Bound<T>)>
where T: ToSql<ST, Pg>, [(Bound<T>, Bound<T>)]: ToSql<Multirange<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<T, ST> ToSql<Multirange<ST>, Pg> for Vec<Range<T>>
where T: ToSql<ST, Pg>, [Range<T>]: ToSql<Multirange<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<T, ST> ToSql<Multirange<ST>, Pg> for Vec<RangeFrom<T>>
where T: ToSql<ST, Pg>, [RangeFrom<T>]: ToSql<Multirange<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<T, ST> ToSql<Multirange<ST>, Pg> for Vec<RangeInclusive<T>>
where T: ToSql<ST, Pg>, [RangeInclusive<T>]: ToSql<Multirange<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<T, ST> ToSql<Multirange<ST>, Pg> for Vec<RangeTo<T>>
where T: ToSql<ST, Pg>, [RangeTo<T>]: ToSql<Multirange<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<T, ST> ToSql<Multirange<ST>, Pg> for Vec<RangeToInclusive<T>>
where T: ToSql<ST, Pg>, [RangeToInclusive<T>]: ToSql<Multirange<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl ToSql<NullValueTreatmentEnum, Pg> for NullValueTreatment

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for RangeFrom<T>
where ST: 'static, RangeFrom<T>: ToSql<Range<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for RangeInclusive<T>
where ST: 'static, RangeInclusive<T>: ToSql<Range<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for RangeTo<T>
where ST: 'static, RangeTo<T>: ToSql<Range<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for RangeToInclusive<T>
where ST: 'static, RangeToInclusive<T>: ToSql<Range<ST>, Pg>,

Source§

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

See the trait documentation.
Source§

impl ToSql<Numeric, Pg> for BigDecimal

Available on crate feature numeric only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Numeric, Pg> for PgNumeric

Source§

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

See the trait documentation.
Source§

impl ToSql<Oid, Pg> for u32

Source§

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

See the trait documentation.
Source§

impl ToSql<PgLsn, Pg> for PgLsn

Source§

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

See the trait documentation.
Source§

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

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Range<ST>, Pg> for Range<T>
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Range<ST>, Pg> for RangeFrom<T>
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Range<ST>, Pg> for RangeInclusive<T>
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Range<ST>, Pg> for RangeTo<T>
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl<ST, T> ToSql<Range<ST>, Pg> for RangeToInclusive<T>
where ST: 'static, T: ToSql<ST, Pg>,

Source§

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

See the trait documentation.
Source§

impl ToSql<RangeBoundEnum, Pg> for RangeBound

Source§

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

See the trait documentation.
Source§

impl ToSql<SmallInt, Pg> for i16

Source§

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

See the trait documentation.
Source§

impl ToSql<Time, Pg> for NaiveTime

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Time, Pg> for PgTime

Source§

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

See the trait documentation.
Source§

impl ToSql<Time, Pg> for Time

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamp, Pg> for NaiveDateTime

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamp, Pg> for PgTimestamp

Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamp, Pg> for PrimitiveDateTime

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamp, Pg> for SystemTime

Source§

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

See the trait documentation.
Source§

impl<TZ: TimeZone> ToSql<Timestamptz, Pg> for DateTime<TZ>

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamptz, Pg> for NaiveDateTime

Available on crate feature chrono only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamptz, Pg> for OffsetDateTime

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamptz, Pg> for PgTimestamp

Source§

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

See the trait documentation.
Source§

impl ToSql<Timestamptz, Pg> for PrimitiveDateTime

Available on crate feature time only.
Source§

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

See the trait documentation.
Source§

impl ToSql<Uuid, Pg> for Uuid

Available on crate feature uuid only.
Source§

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

See the trait documentation.
Source§

impl TypeMetadata for Pg

Source§

type TypeMetadata = PgTypeMetadata

The actual type used to represent metadata. Read more
Source§

type MetadataLookup = dyn PgMetadataLookup

The type used for runtime lookup of metadata. Read more
Source§

impl Copy for Pg

Source§

impl Eq for Pg

Source§

impl StructuralPartialEq for Pg

Auto Trait Implementations§

§

impl Freeze for Pg

§

impl RefUnwindSafe for Pg

§

impl Send for Pg

§

impl Sync for Pg

§

impl Unpin for Pg

§

impl UnwindSafe for Pg

Blanket Implementations§

Source§

impl<T> AggregateExpressionMethods for T

Source§

fn aggregate_distinct(self) -> AggregateDistinct<Self>
where Self: DistinctDsl,

DISTINCT modifier for aggregate functions Read more
Source§

fn aggregate_all(self) -> AggregateAll<Self>
where Self: AllDsl,

ALL modifier for aggregate functions Read more
Source§

fn aggregate_filter<P>(self, f: P) -> AggregateFilter<Self, P>
where P: AsExpression<Bool>, Self: FilterDsl<P::Expression>,

Add an aggregate function filter Read more
Source§

fn aggregate_order<O>(self, o: O) -> AggregateOrder<Self, O>
where Self: OrderAggregateDsl<O>,

Add an aggregate function order Read more
§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Converts Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Converts Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Converts &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Converts &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> DowncastSend for T
where T: Any + Send,

Source§

fn into_any_send(self: Box<T>) -> Box<dyn Any + Send>

Converts Box<Trait> (where Trait: DowncastSend) to Box<dyn Any + Send>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

Source§

fn into_any_sync(self: Box<T>) -> Box<dyn Any + Sync + Send>

Converts Box<Trait> (where Trait: DowncastSync) to Box<dyn Any + Send + Sync>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Converts Arc<Trait> (where Trait: DowncastSync) to Arc<Any>, which can then be downcast into Arc<ConcreteType> where ConcreteType implements Trait.
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, __DB> HasSqlType<(T,)> for __DB
where __DB: HasSqlType<T> + Backend,

Source§

fn metadata( _: &mut <__DB as TypeMetadata>::MetadataLookup, ) -> <__DB as TypeMetadata>::TypeMetadata

Fetch the metadata for the given type Read more
Source§

impl<T, DB> HasSqlType<Nullable<T>> for DB
where DB: Backend + HasSqlType<T>, T: SqlType,

Source§

fn metadata( lookup: &mut <DB as TypeMetadata>::MetadataLookup, ) -> <DB as TypeMetadata>::TypeMetadata

Fetch the metadata for the given type Read more
§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoSql for T

Source§

fn into_sql<T>(self) -> AsExprOf<Self, T>

Convert self to an expression for Diesel’s query builder. Read more
Source§

fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>
where &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,

Convert &self to an expression for Diesel’s query builder. Read more
Source§

impl<T, __DB> QueryMetadata<(T,)> for __DB
where __DB: Backend + QueryMetadata<T>,

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, __DB> QueryMetadata<Nullable<(T,)>> for __DB
where __DB: Backend + QueryMetadata<T>,

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, __DB> QueryMetadata<Nullable<(T, T1)>> for __DB
where __DB: Backend + QueryMetadata<T> + QueryMetadata<T1>,

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, __DB> QueryMetadata<Nullable<(T, T1, T2)>> for __DB
where __DB: Backend + QueryMetadata<T> + QueryMetadata<T1> + QueryMetadata<T2>,

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, __DB> QueryMetadata<Nullable<(T, T1, T2, T3)>> for __DB
where __DB: Backend + QueryMetadata<T> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3>,

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> QueryMetadata<Nullable<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)>> for __DB

Source§

fn row_metadata( lookup: &mut <__DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<__DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<T, DB> QueryMetadata<T> for DB
where DB: Backend + HasSqlType<T>, T: SingleValue,

Source§

fn row_metadata( lookup: &mut <DB as TypeMetadata>::MetadataLookup, out: &mut Vec<Option<<DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
Source§

impl<DB> QueryMetadata<Untyped> for DB
where DB: Backend,

Source§

fn row_metadata( _: &mut <DB as TypeMetadata>::MetadataLookup, row: &mut Vec<Option<<DB as TypeMetadata>::TypeMetadata>>, )

The exact return value of this function is considered to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend
§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WindowExpressionMethods for T

Source§

fn over(self) -> Over<Self>
where Self: OverDsl,

Turn a function call into a window function call Read more
Source§

fn window_filter<P>(self, f: P) -> WindowFilter<Self, P>
where P: AsExpression<Bool>, Self: FilterDsl<P::Expression>,

Add a filter to the current window function Read more
Source§

fn partition_by<E>(self, expr: E) -> PartitionBy<Self, E>
where Self: PartitionByDsl<E>,

Add a partition clause to the current window function Read more
Source§

fn window_order<E>(self, expr: E) -> WindowOrder<Self, E>
where Self: OrderWindowDsl<E>,

Add a order clause to the current window function Read more
Source§

fn frame_by<E>(self, expr: E) -> FrameBy<Self, E>
where Self: FrameDsl<E>,

Add a frame clause to the current window function Read more
Source§

impl<T, T1, __DB> HasSqlType<(T, T1)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + Backend,

Source§

impl<T, T1, T2, __DB> HasSqlType<(T, T1, T2)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + Backend,

Source§

impl<T, T1, T2, T3, __DB> HasSqlType<(T, T1, T2, T3)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + Backend,

Source§

impl<T, T1, T2, T3, T4, __DB> HasSqlType<(T, T1, T2, T3, T4)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, __DB> HasSqlType<(T, T1, T2, T3, T4, T5)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + Backend,

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> HasSqlType<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)> for __DB
where __DB: HasSqlType<T> + HasSqlType<T1> + HasSqlType<T2> + HasSqlType<T3> + HasSqlType<T4> + HasSqlType<T5> + HasSqlType<T6> + HasSqlType<T7> + HasSqlType<T8> + HasSqlType<T9> + HasSqlType<T10> + HasSqlType<T11> + HasSqlType<T12> + HasSqlType<T13> + HasSqlType<T14> + HasSqlType<T15> + Backend,

Source§

impl<T, T1, __DB> QueryMetadata<(T, T1)> for __DB
where __DB: Backend + QueryMetadata<T> + QueryMetadata<T1>,

Source§

impl<T, T1, T2, __DB> QueryMetadata<(T, T1, T2)> for __DB
where __DB: Backend + QueryMetadata<T> + QueryMetadata<T1> + QueryMetadata<T2>,

Source§

impl<T, T1, T2, T3, __DB> QueryMetadata<(T, T1, T2, T3)> for __DB
where __DB: Backend + QueryMetadata<T> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3>,

Source§

impl<T, T1, T2, T3, T4, __DB> QueryMetadata<(T, T1, T2, T3, T4)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> for __DB

Source§

impl<T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> QueryMetadata<(T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)> for __DB