[−][src]Struct sqlx::postgres::PgRow
This is supported on
feature="postgres"
only.Trait Implementations
impl<'c> ColumnIndex<'c, PgRow<'c>> for str
[src]
impl<'c> ColumnIndex<'c, PgRow<'c>> for usize
[src]
impl<'c, T1, T2, T3, T4, T5, T6> FromRow<'c, PgRow<'c>> for (T1, T2, T3, T4, T5, T6) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1, T2> FromRow<'c, PgRow<'c>> for (T1, T2) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1> FromRow<'c, PgRow<'c>> for (T1,) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1, T2, T3, T4, T5, T6, T7, T8, T9> FromRow<'c, PgRow<'c>> for (T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
T7: 'c + Type<Postgres> + Decode<'c, Postgres>,
T8: 'c + Type<Postgres> + Decode<'c, Postgres>,
T9: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
T7: 'c + Type<Postgres> + Decode<'c, Postgres>,
T8: 'c + Type<Postgres> + Decode<'c, Postgres>,
T9: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1, T2, T3, T4> FromRow<'c, PgRow<'c>> for (T1, T2, T3, T4) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1, T2, T3> FromRow<'c, PgRow<'c>> for (T1, T2, T3) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1, T2, T3, T4, T5> FromRow<'c, PgRow<'c>> for (T1, T2, T3, T4, T5) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1, T2, T3, T4, T5, T6, T7> FromRow<'c, PgRow<'c>> for (T1, T2, T3, T4, T5, T6, T7) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
T7: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
T7: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c, T1, T2, T3, T4, T5, T6, T7, T8> FromRow<'c, PgRow<'c>> for (T1, T2, T3, T4, T5, T6, T7, T8) where
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
T7: 'c + Type<Postgres> + Decode<'c, Postgres>,
T8: 'c + Type<Postgres> + Decode<'c, Postgres>,
[src]
T1: 'c + Type<Postgres> + Decode<'c, Postgres>,
T2: 'c + Type<Postgres> + Decode<'c, Postgres>,
T3: 'c + Type<Postgres> + Decode<'c, Postgres>,
T4: 'c + Type<Postgres> + Decode<'c, Postgres>,
T5: 'c + Type<Postgres> + Decode<'c, Postgres>,
T6: 'c + Type<Postgres> + Decode<'c, Postgres>,
T7: 'c + Type<Postgres> + Decode<'c, Postgres>,
T8: 'c + Type<Postgres> + Decode<'c, Postgres>,
impl<'c> Row<'c> for PgRow<'c>
[src]
type Database = Postgres
The Database
this Row
is implemented for.
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn get<T, I>(&self, index: I) -> T where
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
[src]
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
fn get_unchecked<T, I>(&self, index: I) -> T where
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
[src]
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
fn try_get<T, I>(&self, index: I) -> Result<T, Error> where
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
[src]
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
fn try_get_unchecked<T, I>(&self, index: I) -> Result<T, Error> where
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
[src]
I: ColumnIndex<'c, Self>,
T: Type<Self::Database> + Decode<'c, Self::Database>,
Auto Trait Implementations
impl<'c> RefUnwindSafe for PgRow<'c>
impl<'c> Send for PgRow<'c>
impl<'c> Sync for PgRow<'c>
impl<'c> Unpin for PgRow<'c>
impl<'c> UnwindSafe for PgRow<'c>
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>,