[][src]Struct sqlx::Postgres

pub struct Postgres;

Postgres database driver.

Trait Implementations

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 Row = PgRow

The concrete Row 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.

impl Encode<Postgres> for NaiveDateTime[src]

impl Encode<Postgres> for f32[src]

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

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

impl Encode<Postgres> for i64[src]

impl Encode<Postgres> for NaiveTime[src]

impl Encode<Postgres> for i32[src]

impl Encode<Postgres> for i16[src]

impl Encode<Postgres> for f64[src]

impl Encode<Postgres> for bool[src]

impl Encode<Postgres> for NaiveDate[src]

impl Encode<Postgres> for String[src]

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

impl Encode<Postgres> for Uuid[src]

impl Encode<Postgres> for str[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl HasSqlType<NaiveDate> for Postgres[src]

impl HasSqlType<NaiveDateTime> for Postgres[src]

impl HasSqlType<NaiveTime> for Postgres[src]

impl HasSqlType<String> for Postgres[src]

impl HasSqlType<Uuid> for Postgres[src]

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

impl HasSqlType<bool> for Postgres[src]

impl HasSqlType<f32> for Postgres[src]

impl HasSqlType<f64> for Postgres[src]

impl HasSqlType<i16> for Postgres[src]

impl HasSqlType<i32> for Postgres[src]

impl HasSqlType<i64> for Postgres[src]

impl HasSqlType<str> for Postgres[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, DB> HasSqlType<&'_ T> for DB where
    DB: HasSqlType<T>,
    T: ?Sized
[src]

impl<T, DB> HasSqlType<Option<T>> for DB where
    DB: HasSqlType<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>,