Struct diesel::pg::Pg

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

The PostgreSQL backend

Trait Implementations§

source§

impl Backend for Pg

§

type QueryBuilder = PgQueryBuilder

The concrete QueryBuilder implementation for this backend.
§

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

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

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 copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl 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<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<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<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 FromSql<Numeric, Pg> for BigDecimal

Available on crate feature bigdecimal 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<T, ST> FromSql<Range<ST>, Pg> for (Bound<T>, Bound<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<T0, ST0> FromSql<Record<(ST0,)>, Pg> for (T0,)
where T0: FromSql<ST0, 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<T0, T1, ST0, ST1> FromSql<Record<(ST0, ST1)>, Pg> for (T0, T1)
where T0: FromSql<ST0, 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<T0, T1, T2, ST0, ST1, ST2> FromSql<Record<(ST0, ST1, ST2)>, Pg> for (T0, T1, T2)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, ST0, ST1, ST2, ST3> FromSql<Record<(ST0, ST1, ST2, ST3)>, Pg> for (T0, T1, T2, T3)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, ST0, ST1, ST2, ST3, ST4> FromSql<Record<(ST0, ST1, ST2, ST3, ST4)>, Pg> for (T0, T1, T2, T3, T4)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, T5, ST0, ST1, ST2, ST3, ST4, ST5> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5)>, Pg> for (T0, T1, T2, T3, T4, T5)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, T5, T6, ST0, ST1, ST2, ST3, ST4, ST5, ST6> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>, Pg> for (T0, T1, T2, T3, T4, T5, T6)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, T5, T6, T7, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T0: FromSql<ST0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T0: FromSql<ST0, 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<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> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T0: FromSql<ST0, 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<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> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T0: FromSql<ST0, 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<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> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T0: FromSql<ST0, 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<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> FromSql<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: FromSql<ST0, 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<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<Money> for Pg

source§

fn metadata(_: &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<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<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 · source§

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 PartialEq for Pg

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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<'a, C> QueryFragment<Pg> for TransactionBuilder<'a, 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]

§

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

§

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<T0, ST0> Queryable<Record<(ST0,)>, Pg> for (T0,)
where Self: FromSql<Record<(ST0,)>, Pg>,

§

type Row = (T0,)

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<T0, T1, ST0, ST1> Queryable<Record<(ST0, ST1)>, Pg> for (T0, T1)
where Self: FromSql<Record<(ST0, ST1)>, Pg>,

§

type Row = (T0, 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<T0, T1, T2, ST0, ST1, ST2> Queryable<Record<(ST0, ST1, ST2)>, Pg> for (T0, T1, T2)

§

type Row = (T0, 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<T0, T1, T2, T3, ST0, ST1, ST2, ST3> Queryable<Record<(ST0, ST1, ST2, ST3)>, Pg> for (T0, T1, T2, T3)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, ST0, ST1, ST2, ST3, ST4> Queryable<Record<(ST0, ST1, ST2, ST3, ST4)>, Pg> for (T0, T1, T2, T3, T4)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, T5, ST0, ST1, ST2, ST3, ST4, ST5> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5)>, Pg> for (T0, T1, T2, T3, T4, T5)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, T5, T6, ST0, ST1, ST2, ST3, ST4, ST5, ST6> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6)>, Pg> for (T0, T1, T2, T3, T4, T5, T6)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

§

type Row = (T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

§

type Row = (T0, 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<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> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

§

type Row = (T0, 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<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> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

§

type Row = (T0, 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<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> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

§

type Row = (T0, 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<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> Queryable<Record<(ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, ST9, ST10, ST11, ST12, ST13, ST14, ST15)>, Pg> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

§

type Row = (T0, 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

§

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

§

type ReturningClause = PgLikeReturningClause

Configures how this backend supports RETURNING clauses Read more
§

type OnConflictClause = PgOnConflictClause

Configures how this backend supports ON CONFLICT clauses Read more
§

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
§

type BatchInsertSupport = PostgresLikeBatchInsertSupport

Configures how this backend handles Batch insert statements Read more
§

type ConcatClause = ConcatWithPipesClause

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

type DefaultValueClauseForInsert = AnsiDefaultValueClause

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

type EmptyFromClauseSyntax = AnsiSqlFromClauseSyntax

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

type SelectStatementSyntax = AnsiSqlSelectStatement

Configures how this backend structures SELECT queries Read more
§

type ExistsSyntax = AnsiSqlExistsSyntax

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

type ArrayComparison = PgStyleArrayComparison

Configures how this backend handles IN() and NOT IN() expressions. Read more
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<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<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<Money, Pg> for PgMoney

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<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 ToSql<Numeric, Pg> for BigDecimal

Available on crate feature bigdecimal 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<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 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

§

type TypeMetadata = PgTypeMetadata

The actual type used to represent metadata. Read more
§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

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

source§

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

Fetch the metadata for the given type Read more
source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for __DB
where __DB: HasSqlType<T0> + 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§

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

Fetch the metadata for the given type Read more
source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)> for __DB
where __DB: HasSqlType<T0> + 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§

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

Fetch the metadata for the given type Read more
source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> for __DB
where __DB: HasSqlType<T0> + 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§

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

Fetch the metadata for the given type Read more
source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> HasSqlType<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)> for __DB
where __DB: HasSqlType<T0> + 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§

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

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

source§

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>

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

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

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<T0, T1, __DB> QueryMetadata<(T0, T1)> for __DB
where __DB: Backend + QueryMetadata<T0> + 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<T0, T1, T2, __DB> QueryMetadata<(T0, T1, T2)> for __DB
where __DB: Backend + QueryMetadata<T0> + 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<T0, T1, T2, T3, __DB> QueryMetadata<(T0, T1, T2, T3)> for __DB
where __DB: Backend + QueryMetadata<T0> + 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<T0, T1, T2, T3, T4, __DB> QueryMetadata<(T0, T1, T2, T3, T4)> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3> + QueryMetadata<T4>,

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<T0, T1, T2, T3, T4, T5, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> QueryMetadata<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> QueryMetadata<(T0, 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<T0, __DB> QueryMetadata<Nullable<(T0,)>> for __DB
where __DB: Backend + QueryMetadata<T0>,

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<T0, T1, __DB> QueryMetadata<Nullable<(T0, T1)>> for __DB
where __DB: Backend + QueryMetadata<T0> + 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<T0, T1, T2, __DB> QueryMetadata<Nullable<(T0, T1, T2)>> for __DB
where __DB: Backend + QueryMetadata<T0> + 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<T0, T1, T2, T3, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3)>> for __DB
where __DB: Backend + QueryMetadata<T0> + 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<T0, T1, T2, T3, T4, __DB> QueryMetadata<Nullable<(T0, T1, T2, T3, T4)>> for __DB
where __DB: Backend + QueryMetadata<T0> + QueryMetadata<T1> + QueryMetadata<T2> + QueryMetadata<T3> + QueryMetadata<T4>,

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<T0, T1, T2, T3, T4, T5, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, __DB> QueryMetadata<Nullable<(T0, 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<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, __DB> QueryMetadata<Nullable<(T0, 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
source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

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

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

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

§

type Error = Infallible

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

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

Performs the conversion.
source§

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

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

Performs the conversion.