pub struct Rows(/* private fields */);
Implementations§
Source§impl Rows
impl Rows
pub fn from_rows(rows: Rows<'_>) -> Result<Self>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> Iter<'_, Row>
pub fn get(&self, idx: usize) -> Option<&Row>
pub fn last(&self) -> Option<&Row>
pub fn column_count(&self) -> usize
pub fn column_names(&self) -> Vec<&str>
pub fn column_name(&self, idx: usize) -> Option<&str>
pub fn column_type(&self, idx: usize) -> Result<ValueType, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rows
impl RefUnwindSafe for Rows
impl Send for Rows
impl Sync for Rows
impl Unpin for Rows
impl UnwindSafe for Rows
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