pub struct PgRow(pub Row);Tuple Fields§
§0: RowTrait Implementations§
Source§impl Row for PgRow
impl Row for PgRow
fn get_i16(&self, idx: usize) -> i16
fn get_i32(&self, idx: usize) -> i32
fn get_i64(&self, idx: usize) -> i64
fn get_f32(&self, idx: usize) -> f32
fn get_f64(&self, idx: usize) -> f64
fn get_string(&self, idx: usize) -> String
fn get_bool(&self, idx: usize) -> bool
fn get_uuid(&self, idx: usize) -> Uuid
fn get_timestamp(&self, idx: usize) -> NaiveDateTime
fn get_timestamptz(&self, idx: usize) -> DateTime<Utc>
fn get_date(&self, idx: usize) -> NaiveDate
fn get_decimal(&self, idx: usize) -> Decimal
fn get_json(&self, idx: usize) -> Value
fn get_opt_i16(&self, idx: usize) -> Option<i16>
fn get_opt_i32(&self, idx: usize) -> Option<i32>
fn get_opt_i64(&self, idx: usize) -> Option<i64>
fn get_opt_f32(&self, idx: usize) -> Option<f32>
fn get_opt_f64(&self, idx: usize) -> Option<f64>
fn get_opt_string(&self, idx: usize) -> Option<String>
fn get_opt_bool(&self, idx: usize) -> Option<bool>
fn get_opt_uuid(&self, idx: usize) -> Option<Uuid>
fn get_opt_timestamp(&self, idx: usize) -> Option<NaiveDateTime>
fn get_opt_timestamptz(&self, idx: usize) -> Option<DateTime<Utc>>
fn get_opt_date(&self, idx: usize) -> Option<NaiveDate>
fn get_opt_decimal(&self, idx: usize) -> Option<Decimal>
fn get_opt_json(&self, idx: usize) -> Option<Value>
fn get_vec_i16(&self, idx: usize) -> Vec<i16>
fn get_vec_i32(&self, idx: usize) -> Vec<i32>
fn get_vec_i64(&self, idx: usize) -> Vec<i64>
fn get_vec_f32(&self, idx: usize) -> Vec<f32>
fn get_vec_f64(&self, idx: usize) -> Vec<f64>
fn get_vec_string(&self, idx: usize) -> Vec<String>
fn get_vec_bool(&self, idx: usize) -> Vec<bool>
fn get_vec_uuid(&self, idx: usize) -> Vec<Uuid>
Auto Trait Implementations§
impl !Freeze for PgRow
impl !RefUnwindSafe for PgRow
impl Send for PgRow
impl Sync for PgRow
impl Unpin for PgRow
impl UnsafeUnpin for PgRow
impl !UnwindSafe for PgRow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more