[][src]Struct sqlx::Postgres

pub struct Postgres;
This is supported on feature="postgres" only.

Postgres database driver.

Trait Implementations

impl<'_> ColumnIndex<Postgres> for &'_ str[src]

impl ColumnIndex<Postgres> for usize[src]

impl Database for Postgres[src]

type Connection = PgConnection

The concrete Connection implementation for this database.

type Arguments = PgArguments

The concrete Arguments implementation for this database.

type TypeInfo = PgTypeInfo

The concrete TypeInfo implementation for this database.

type TableId = u32

The Rust type of table identifiers for this database.

type RawBuffer = Vec<u8>

The Rust type used as the buffer when encoding arguments. Read more

impl<'de> Decode<'de, Postgres> for NaiveTime[src]

impl<'de, T1, T2, T3, T4, T5, T6, T7, T8, T9> Decode<'de, Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8, T9) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>,
    T3: Type<Postgres> + Decode<'de, Postgres>,
    T4: Type<Postgres> + Decode<'de, Postgres>,
    T5: Type<Postgres> + Decode<'de, Postgres>,
    T6: Type<Postgres> + Decode<'de, Postgres>,
    T7: Type<Postgres> + Decode<'de, Postgres>,
    T8: Type<Postgres> + Decode<'de, Postgres>,
    T9: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for i32[src]

impl<'de, T> Decode<'de, Postgres> for Option<T> where
    T: Decode<'de, Postgres>, 
[src]

impl<'de, T1, T2, T3, T4, T5, T6> Decode<'de, Postgres> for (T1, T2, T3, T4, T5, T6) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>,
    T3: Type<Postgres> + Decode<'de, Postgres>,
    T4: Type<Postgres> + Decode<'de, Postgres>,
    T5: Type<Postgres> + Decode<'de, Postgres>,
    T6: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for Uuid[src]

impl<'de> Decode<'de, Postgres> for Vec<u8>[src]

impl<'de, T1, T2, T3, T4, T5, T6, T7, T8> Decode<'de, Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>,
    T3: Type<Postgres> + Decode<'de, Postgres>,
    T4: Type<Postgres> + Decode<'de, Postgres>,
    T5: Type<Postgres> + Decode<'de, Postgres>,
    T6: Type<Postgres> + Decode<'de, Postgres>,
    T7: Type<Postgres> + Decode<'de, Postgres>,
    T8: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for i64[src]

impl<'de> Decode<'de, Postgres> for f64[src]

impl<'de> Decode<'de, Postgres> for bool[src]

impl<'de> Decode<'de, Postgres> for NaiveDate[src]

impl<'de, T1, T2, T3, T4> Decode<'de, Postgres> for (T1, T2, T3, T4) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>,
    T3: Type<Postgres> + Decode<'de, Postgres>,
    T4: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for NaiveDateTime[src]

impl<'de> Decode<'de, Postgres> for f32[src]

impl<'de, T1, T2> Decode<'de, Postgres> for (T1, T2) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for DateTime<Local>[src]

impl<'de, T1> Decode<'de, Postgres> for (T1,) where
    T1: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for DateTime<Utc>[src]

impl<'de> Decode<'de, Postgres> for &'de str[src]

impl<'de, T1, T2, T3> Decode<'de, Postgres> for (T1, T2, T3) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>,
    T3: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for String[src]

impl<'de> Decode<'de, Postgres> for &'de [u8][src]

impl<'de, T1, T2, T3, T4, T5, T6, T7> Decode<'de, Postgres> for (T1, T2, T3, T4, T5, T6, T7) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>,
    T3: Type<Postgres> + Decode<'de, Postgres>,
    T4: Type<Postgres> + Decode<'de, Postgres>,
    T5: Type<Postgres> + Decode<'de, Postgres>,
    T6: Type<Postgres> + Decode<'de, Postgres>,
    T7: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de, T1, T2, T3, T4, T5> Decode<'de, Postgres> for (T1, T2, T3, T4, T5) where
    T1: Type<Postgres> + Decode<'de, Postgres>,
    T2: Type<Postgres> + Decode<'de, Postgres>,
    T3: Type<Postgres> + Decode<'de, Postgres>,
    T4: Type<Postgres> + Decode<'de, Postgres>,
    T5: Type<Postgres> + Decode<'de, Postgres>, 
[src]

impl<'de> Decode<'de, Postgres> for i16[src]

impl Encode<Postgres> for [u8][src]

impl Encode<Postgres> for NaiveTime[src]

impl Encode<Postgres> for str[src]

impl Encode<Postgres> for i16[src]

impl Encode<Postgres> for i32[src]

impl Encode<Postgres> for bool[src]

impl Encode<Postgres> for Vec<u8>[src]

impl Encode<Postgres> for NaiveDateTime[src]

impl Encode<Postgres> for f64[src]

impl Encode<Postgres> for String[src]

impl Encode<Postgres> for NaiveDate[src]

impl Encode<Postgres> for Uuid[src]

impl Encode<Postgres> for i64[src]

impl<Tz> Encode<Postgres> for DateTime<Tz> where
    Tz: TimeZone,
    <Tz as TimeZone>::Offset: Copy
[src]

impl Encode<Postgres> for f32[src]

impl<'s, 'q> HasCursor<'s, 'q> for Postgres[src]

type Database = Postgres

type Cursor = PgCursor<'s, 'q>

The concrete Cursor implementation for this database.

impl<'a> HasRawValue<'a> for Postgres[src]

type RawValue = Option<PgValue<'a>>

The Rust type used to hold a not-yet-decoded value that has just been received from the database. Read more

impl<'a> HasRow<'a> for Postgres[src]

type Database = Postgres

type Row = PgRow<'a>

The concrete Row implementation for this database.

impl<O, F> TryMapRow<Postgres> for F where
    F: FnMut(PgRow<'c>) -> Result<O, Error>,
    O: Unpin
[src]

type Output = O

impl Type<Postgres> for [NaiveTime][src]

impl<T1, T2, T3, T4, T5, T6, T7> Type<Postgres> for (T1, T2, T3, T4, T5, T6, T7)[src]

impl Type<Postgres> for NaiveDate[src]

impl<T1, T2> Type<Postgres> for (T1, T2)[src]

impl Type<Postgres> for [i64][src]

impl Type<Postgres> for [NaiveDateTime][src]

impl Type<Postgres> for [i32][src]

impl<T1, T2, T3, T4, T5, T6, T7, T8> Type<Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8)[src]

impl Type<Postgres> for NaiveTime[src]

impl Type<Postgres> for i32[src]

impl<T1, T2, T3, T4, T5, T6> Type<Postgres> for (T1, T2, T3, T4, T5, T6)[src]

impl Type<Postgres> for Vec<u8>[src]

impl<T1, T2, T3> Type<Postgres> for (T1, T2, T3)[src]

impl<Tz> Type<Postgres> for DateTime<Tz> where
    Tz: TimeZone
[src]

impl Type<Postgres> for [i16][src]

impl Type<Postgres> for str[src]

impl Type<Postgres> for [Uuid][src]

impl Type<Postgres> for [f64][src]

impl<T1> Type<Postgres> for (T1,)[src]

impl Type<Postgres> for i64[src]

impl Type<Postgres> for bool[src]

impl<'_> Type<Postgres> for [&'_ [u8]][src]

impl Type<Postgres> for [NaiveDate][src]

impl Type<Postgres> for i16[src]

impl Type<Postgres> for [bool][src]

impl<T1, T2, T3, T4> Type<Postgres> for (T1, T2, T3, T4)[src]

impl Type<Postgres> for [f32][src]

impl Type<Postgres> for String[src]

impl<Tz> Type<Postgres> for [DateTime<Tz>] where
    Tz: TimeZone
[src]

impl Type<Postgres> for f64[src]

impl Type<Postgres> for Uuid[src]

impl Type<Postgres> for f32[src]

impl<'_> Type<Postgres> for [&'_ str][src]

impl<T1, T2, T3, T4, T5> Type<Postgres> for (T1, T2, T3, T4, T5)[src]

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> Type<Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8, T9)[src]

impl Type<Postgres> for [u8][src]

impl Type<Postgres> for NaiveDateTime[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,