pub struct Row { /* private fields */ }Expand description
A single row returned from a query.
Implementations§
Source§impl Row
impl Row
Sourcepub fn get(&self, index: usize) -> Option<&IgniteValue>
pub fn get(&self, index: usize) -> Option<&IgniteValue>
Get a value by column index.
Sourcepub fn get_by_name(&self, name: &str) -> Option<&IgniteValue>
pub fn get_by_name(&self, name: &str) -> Option<&IgniteValue>
Get a value by column name (case-insensitive).
Sourcepub fn columns(&self) -> &[Column]
pub fn columns(&self) -> &[Column]
Column descriptors in declaration order. Indices match Self::get.
Sourcepub fn values(&self) -> &[IgniteValue]
pub fn values(&self) -> &[IgniteValue]
All values in column order. Indices match Self::get.
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 UnsafeUnpin 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