[−][src]Struct sqlx::Postgres
postgres
only.PostgreSQL database driver.
Trait Implementations
impl Database for Postgres
[src]
type Connection = PgConnection
The concrete Connection
implementation for this database.
type TransactionManager = PgTransactionManager
The concrete TransactionManager
implementation for this database.
type Row = PgRow
The concrete Row
implementation for this database.
type Done = PgDone
The concrete Done
implementation for this database.
type Column = PgColumn
The concrete Column
implementation for this database.
type TypeInfo = PgTypeInfo
The concrete TypeInfo
implementation for this database.
type Value = PgValue
The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database. Read more
impl Debug for Postgres
[src]
impl<'_> Decode<'_, Postgres> for i64
[src]
impl<'_> Decode<'_, Postgres> for f64
[src]
impl<'_> Decode<'_, Postgres> for u32
[src]
impl<'_> Decode<'_, Postgres> for Uuid
[src]
impl<'_> Decode<'_, Postgres> for BigDecimal
[src]
fn decode(
value: PgValueRef<'_>
) -> Result<BigDecimal, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'_>
) -> Result<BigDecimal, Box<dyn Error + 'static + Sync + Send>>
impl<'_> Decode<'_, Postgres> for IpNetwork
[src]
impl<'_> Decode<'_, Postgres> for Decimal
[src]
impl<'_> Decode<'_, Postgres> for i16
[src]
impl<'_> Decode<'_, Postgres> for Vec<u8>
[src]
impl<'_> Decode<'_, Postgres> for i8
[src]
impl<'_> Decode<'_, Postgres> for PgMoney
[src]
impl<'_> Decode<'_, Postgres> for f32
[src]
impl<'_> Decode<'_, Postgres> for i32
[src]
impl<'_> Decode<'_, Postgres> for bool
[src]
impl<'_> Decode<'_, Postgres> for String
[src]
impl<'de> Decode<'de, Postgres> for PgInterval
[src]
fn decode(
value: PgValueRef<'de>
) -> Result<PgInterval, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'de>
) -> Result<PgInterval, Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1, T2, T3, T4> Decode<'r, Postgres> for (T1, T2, T3, T4) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4), Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4), Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1, T2, T3, T4, T5, T6, T7, T8> Decode<'r, Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T7: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T8: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T7: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T8: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6, T7, T8), Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6, T7, T8), Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1, T2> Decode<'r, Postgres> for (T1, T2) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
impl<'r> Decode<'r, Postgres> for DateTime<Local>
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<DateTime<Local>, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<DateTime<Local>, Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1, T2, T3> Decode<'r, Postgres> for (T1, T2, T3) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<(T1, T2, T3), Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<(T1, T2, T3), Box<dyn Error + 'static + Sync + Send>>
impl<'r> Decode<'r, Postgres> for DateTime<FixedOffset>
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<DateTime<FixedOffset>, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<DateTime<FixedOffset>, Box<dyn Error + 'static + Sync + Send>>
impl<'r> Decode<'r, Postgres> for NaiveDateTime
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<NaiveDateTime, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<NaiveDateTime, Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1> Decode<'r, Postgres> for (T1,) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
impl<'r> Decode<'r, Postgres> for ()
[src]
impl<'r> Decode<'r, Postgres> for DateTime<Utc>
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<DateTime<Utc>, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<DateTime<Utc>, Box<dyn Error + 'static + Sync + Send>>
impl<'r> Decode<'r, Postgres> for OffsetDateTime
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<OffsetDateTime, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<OffsetDateTime, Box<dyn Error + 'static + Sync + Send>>
impl<'r> Decode<'r, Postgres> for NaiveDate
[src]
impl<'r> Decode<'r, Postgres> for &'r str
[src]
impl<'r> Decode<'r, Postgres> for &'r [u8]
[src]
impl<'r, T1, T2, T3, T4, T5, T6> Decode<'r, Postgres> for (T1, T2, T3, T4, T5, T6) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6), Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6), Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1, T2, T3, T4, T5> Decode<'r, Postgres> for (T1, T2, T3, T4, T5) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5), Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5), Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1, T2, T3, T4, T5, T6, T7, T8, T9> Decode<'r, Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T7: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T8: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T9: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T7: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T8: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T9: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6, T7, T8, T9), Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6, T7, T8, T9), Box<dyn Error + 'static + Sync + Send>>
impl<'r, T1, T2, T3, T4, T5, T6, T7> Decode<'r, Postgres> for (T1, T2, T3, T4, T5, T6, T7) where
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T7: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T1: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T2: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T3: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T4: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T5: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T6: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
T7: 'r + Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6, T7), Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<(T1, T2, T3, T4, T5, T6, T7), Box<dyn Error + 'static + Sync + Send>>
impl<'r, T> Decode<'r, Postgres> for Vec<T> where
T: for<'a> Decode<'a, Postgres> + Type<Postgres>,
Vec<T>: Type<Postgres>,
[src]
T: for<'a> Decode<'a, Postgres> + Type<Postgres>,
Vec<T>: Type<Postgres>,
impl<'r> Decode<'r, Postgres> for NaiveTime
[src]
impl<'r> Decode<'r, Postgres> for PgTimeTz<NaiveTime, FixedOffset>
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<PgTimeTz<NaiveTime, FixedOffset>, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<PgTimeTz<NaiveTime, FixedOffset>, Box<dyn Error + 'static + Sync + Send>>
impl<'r, T> Decode<'r, Postgres> for Json<T> where
T: 'r + Deserialize<'r>,
[src]
T: 'r + Deserialize<'r>,
impl<'r> Decode<'r, Postgres> for Date
[src]
impl<'r> Decode<'r, Postgres> for PgTimeTz<Time, UtcOffset>
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<PgTimeTz<Time, UtcOffset>, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<PgTimeTz<Time, UtcOffset>, Box<dyn Error + 'static + Sync + Send>>
impl<'r> Decode<'r, Postgres> for PrimitiveDateTime
[src]
fn decode(
value: PgValueRef<'r>
) -> Result<PrimitiveDateTime, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<PrimitiveDateTime, Box<dyn Error + 'static + Sync + Send>>
impl<'r> Decode<'r, Postgres> for Time
[src]
impl<'r, T> Decode<'r, Postgres> for PgRange<T> where
T: Type<Postgres> + for<'a> Decode<'a, Postgres>,
[src]
T: Type<Postgres> + for<'a> Decode<'a, Postgres>,
fn decode(
value: PgValueRef<'r>
) -> Result<PgRange<T>, Box<dyn Error + 'static + Sync + Send>>
[src]
value: PgValueRef<'r>
) -> Result<PgRange<T>, Box<dyn Error + 'static + Sync + Send>>
impl<'_> Encode<'_, Postgres> for Duration
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for PgMoney
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for f32
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for Uuid
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for NaiveTime
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for i32
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for f64
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for bool
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for Duration
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for Vec<u8>
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_, '_> Encode<'_, Postgres> for &'_ str
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for PgTimeTz<Time, UtcOffset>
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for i64
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for PgInterval
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for i16
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for IpNetwork
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for PrimitiveDateTime
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for OffsetDateTime
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_, Tz> Encode<'_, Postgres> for DateTime<Tz> where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for NaiveDateTime
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for Decimal
[src]
Panics
If this Decimal
cannot be represented by [PgNumeric].
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for i8
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for PgTimeTz<NaiveTime, FixedOffset>
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for BigDecimal
[src]
Panics
If this BigDecimal
cannot be represented by [PgNumeric].
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for Duration
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for String
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_, '_> Encode<'_, Postgres> for &'_ [u8]
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for u32
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> Encode<'_, Postgres> for NaiveDate
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for Date
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'_> Encode<'_, Postgres> for Time
[src]
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
impl<'q, T> Encode<'q, Postgres> for Option<T> where
T: Encode<'q, Postgres> + Type<Postgres> + 'q,
[src]
T: Encode<'q, Postgres> + Type<Postgres> + 'q,
fn produces(&self) -> Option<<Postgres as Database>::TypeInfo>
[src]
fn encode(
self,
buf: &mut <Postgres as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
[src]
self,
buf: &mut <Postgres as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn encode_by_ref(
&self,
buf: &mut <Postgres as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
[src]
&self,
buf: &mut <Postgres as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn size_hint(&self) -> usize
[src]
impl<'q, '_, T> Encode<'q, Postgres> for &'_ [T] where
T: Encode<'q, Postgres> + Type<Postgres>,
&'_ [T]: Type<Postgres>,
[src]
T: Encode<'q, Postgres> + Type<Postgres>,
&'_ [T]: Type<Postgres>,
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'q, T> Encode<'q, Postgres> for Vec<T> where
T: Encode<'q, Postgres>,
&'a [T]: for<'a> Encode<'q, Postgres>,
Vec<T>: Type<Postgres>,
[src]
T: Encode<'q, Postgres>,
&'a [T]: for<'a> Encode<'q, Postgres>,
Vec<T>: Type<Postgres>,
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'q, T> Encode<'q, Postgres> for Json<T> where
T: Serialize,
[src]
T: Serialize,
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'q, T> Encode<'q, Postgres> for PgRange<T> where
T: Encode<'q, Postgres>,
[src]
T: Encode<'q, Postgres>,
fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull
[src]
#[must_use]fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
[src]
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
[src]
fn size_hint(&self) -> usize
[src]
impl<'_> HasArguments<'_> for Postgres
[src]
type Database = Postgres
type Arguments = PgArguments
The concrete Arguments
implementation for this database.
type ArgumentBuffer = PgArgumentBuffer
The concrete type used as a buffer for arguments while encoding.
impl<'q> HasStatement<'q> for Postgres
[src]
type Database = Postgres
type Statement = PgStatement<'q>
The concrete Statement
implementation for this database.
impl HasStatementCache for Postgres
[src]
impl<'r> HasValueRef<'r> for Postgres
[src]
type Database = Postgres
type ValueRef = PgValueRef<'r>
The concrete type used to hold a reference to the not-yet-decoded value that has just been received from the database. Read more
impl<O, F> MapRow<Postgres> for F where
F: FnMut(PgRow) -> O,
O: Unpin,
[src]
F: FnMut(PgRow) -> O,
O: Unpin,
impl MigrateDatabase for Postgres
[src]
fn create_database(
uri: &str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>
[src]
uri: &str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>
fn database_exists(
uri: &str
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send>>
[src]
uri: &str
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send>>
fn drop_database(
uri: &str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>
[src]
uri: &str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>
impl<O, F> TryMapRow<Postgres> for F where
F: FnMut(PgRow) -> Result<O, Error>,
O: Unpin,
[src]
F: FnMut(PgRow) -> Result<O, Error>,
O: Unpin,
impl Type<Postgres> for i16
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Uuid
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<NaiveDate>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Time
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Duration
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<u32>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1> Type<Postgres> for (T1,)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for ()
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for String
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl<T1, T2, T3, T4> Type<Postgres> for (T1, T2, T3, T4)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1> Type<Postgres> for Vec<(T1,)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [Duration]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<Decimal>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> Type<Postgres> for [(T1, T2, T3, T4, T5, T6, T7, T8, T9)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for BigDecimal
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2> Type<Postgres> for [(T1, T2)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<OffsetDateTime>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [Uuid]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<i64>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [Date]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [i8]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5> Type<Postgres> for [(T1, T2, T3, T4, T5)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Tz> Type<Postgres> for PgRange<DateTime<Tz>> where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<i64>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [PrimitiveDateTime]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6> Type<Postgres> for (T1, T2, T3, T4, T5, T6)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [f64]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<BigDecimal>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<f64>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<NaiveDateTime>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [i64]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [BigDecimal]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<NaiveDate>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [f32]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<Date>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [Decimal]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Duration
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Tz> Type<Postgres> for DateTime<Tz> where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<NaiveDate>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<f32>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [OffsetDateTime]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<i64>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<Date>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<'_> Type<Postgres> for Vec<&'_ str>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<NaiveDateTime>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Time, Offset> Type<Postgres> for Vec<PgTimeTz<Time, Offset>> where
PgTimeTz<Time, Offset>: Type<Postgres>,
[src]
PgTimeTz<Time, Offset>: Type<Postgres>,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PrimitiveDateTime
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7> Type<Postgres> for (T1, T2, T3, T4, T5, T6, T7)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [Vec<u8>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5> Type<Postgres> for Vec<(T1, T2, T3, T4, T5)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4> Type<Postgres> for Vec<(T1, T2, T3, T4)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<Vec<u8>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<Date>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3> Type<Postgres> for (T1, T2, T3)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for str
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [bool]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Tz> Type<Postgres> for [DateTime<Tz>] where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [u8]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T> Type<Postgres> for [Option<T>] where
[T]: Type<Postgres>,
[src]
[T]: Type<Postgres>,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [i32]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for i64
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<bool>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for bool
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> Type<Postgres> for Vec<(T1, T2, T3, T4, T5, T6, T7, T8, T9)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1> Type<Postgres> for [(T1,)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<NaiveDateTime>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8> Type<Postgres> for Vec<(T1, T2, T3, T4, T5, T6, T7, T8)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for NaiveTime
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<String>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for PgTimeTz<Time, UtcOffset>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<Time>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<'_> Type<Postgres> for Vec<&'_ [u8]>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [NaiveTime]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for IpNetwork
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<Uuid>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6> Type<Postgres> for [(T1, T2, T3, T4, T5, T6)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Time, Offset> Type<Postgres> for [PgTimeTz<Time, Offset>] where
PgTimeTz<Time, Offset>: Type<Postgres>,
[src]
PgTimeTz<Time, Offset>: Type<Postgres>,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2> Type<Postgres> for (T1, T2)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [i16]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<BigDecimal>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<u8>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for NaiveDateTime
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<i64>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for f32
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<i32>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<BigDecimal>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<i16>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgMoney]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6> Type<Postgres> for Vec<(T1, T2, T3, T4, T5, T6)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<OffsetDateTime>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Decimal
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [Time]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4> Type<Postgres> for [(T1, T2, T3, T4)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> Type<Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8, T9)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2> Type<Postgres> for Vec<(T1, T2)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Date
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<NaiveTime>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<'_> Type<Postgres> for [&'_ str]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [IpNetwork]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8> Type<Postgres> for [(T1, T2, T3, T4, T5, T6, T7, T8)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<i32>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for Duration
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<i32>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgInterval]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<IpNetwork>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for [Duration]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T> Type<Postgres> for Vec<Json<T>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for i8
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<OffsetDateTime>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Tz> Type<Postgres> for Vec<DateTime<Tz>> where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8> Type<Postgres> for (T1, T2, T3, T4, T5, T6, T7, T8)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgTimeTz<NaiveTime, FixedOffset>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<i32>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [u32]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<NaiveDate>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for u32
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgMoney
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5> Type<Postgres> for (T1, T2, T3, T4, T5)
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<'_> Type<Postgres> for [&'_ [u8]]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [NaiveDate]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7> Type<Postgres> for Vec<(T1, T2, T3, T4, T5, T6, T7)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for NaiveDate
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for OffsetDateTime
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for f64
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<PrimitiveDateTime>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [Duration]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<i8>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PrimitiveDateTime>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Tz> Type<Postgres> for Vec<PgRange<DateTime<Tz>>> where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T> Type<Postgres> for [Json<T>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl<T> Type<Postgres> for Json<T>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for i32
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [String]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl<T1, T2, T3> Type<Postgres> for [(T1, T2, T3)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<BigDecimal>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<PrimitiveDateTime>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3, T4, T5, T6, T7> Type<Postgres> for [(T1, T2, T3, T4, T5, T6, T7)]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [NaiveDateTime]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T1, T2, T3> Type<Postgres> for Vec<(T1, T2, T3)>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<T> Type<Postgres> for Vec<Option<T>> where
Vec<T>: Type<Postgres>,
[src]
Vec<T>: Type<Postgres>,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for PgInterval
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<OffsetDateTime>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl<Tz> Type<Postgres> for [PgRange<DateTime<Tz>>] where
Tz: TimeZone,
[src]
Tz: TimeZone,
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgRange<Date>>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for [PgRange<NaiveDateTime>]
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[src]
impl Type<Postgres> for PgRange<PrimitiveDateTime>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &PgTypeInfo) -> bool
[src]
impl Type<Postgres> for Vec<PgMoney>
[src]
fn type_info() -> PgTypeInfo
[src]
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
[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, 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>,