pub struct Row(/* private fields */);
Implementations§
Source§impl Row
impl Row
pub fn from_row(row: &Row<'_>, cols: Option<Arc<Vec<Column>>>) -> Result<Self>
pub fn get<T>(&self, idx: usize) -> FromSqlResult<T>where
T: FromSql,
pub fn get_value(&self, idx: usize) -> Result<Value, Error>
pub fn column_count(&self) -> usize
pub fn column_names(&self) -> Vec<&str>
pub fn column_name(&self, idx: usize) -> Option<&str>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
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