[−][src]Struct sqlx::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<Tz> Encode<Postgres> for DateTime<Tz> where
Tz: TimeZone,
<Tz as TimeZone>::Offset: Copy,
[src]
Tz: TimeZone,
<Tz as TimeZone>::Offset: Copy,
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<Postgres> for i64
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for NaiveDate
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<Postgres> for f64
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for String
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<Postgres> for f32
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for NaiveDateTime
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<Postgres> for i16
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for bool
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for Uuid
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for i32
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for NaiveTime
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<Postgres> for Vec<u8>
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for [u8]
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<Postgres> for str
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl<'_> HasSqlType<[&'_ [u8]]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl<'_> HasSqlType<[&'_ str]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl<Tz> HasSqlType<[DateTime<Tz>]> for Postgres where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[NaiveDate]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[NaiveDateTime]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[NaiveTime]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[Uuid]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[bool]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[f32]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[f64]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[i16]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[i32]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[i64]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<[u8]> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl<Tz> HasSqlType<DateTime<Tz>> for Postgres where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<NaiveDate> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<NaiveDateTime> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<NaiveTime> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<String> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<Uuid> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<Vec<u8>> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<bool> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<f32> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<f64> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<i16> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<i32> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<i64> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
impl HasSqlType<str> for Postgres
[src]
fn type_info() -> PgTypeInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for Postgres
impl Send for Postgres
impl Sync for Postgres
impl Unpin for Postgres
impl UnwindSafe for Postgres
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<'_, T, DB> HasSqlType<&'_ T> for DB where
DB: HasSqlType<T>,
T: ?Sized,
[src]
DB: HasSqlType<T>,
T: ?Sized,
impl<T, DB> HasSqlType<Option<T>> for DB where
DB: HasSqlType<T>,
[src]
DB: HasSqlType<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
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>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
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>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,