pub struct CustomDbRow {
pub column_names: Arc<Vec<String>>,
pub rows: Vec<RowValues>,
/* private fields */
}
Expand description
A row from a database query result
This struct represents a single row from a database query result, with access to both the column names and the values.
Fields§
§column_names: Arc<Vec<String>>
The column names for this row (shared across all rows in a result set)
rows: Vec<RowValues>
The values for this row
Implementations§
Trait Implementations§
Source§impl Clone for CustomDbRow
impl Clone for CustomDbRow
Source§fn clone(&self) -> CustomDbRow
fn clone(&self) -> CustomDbRow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CustomDbRow
impl RefUnwindSafe for CustomDbRow
impl Send for CustomDbRow
impl Sync for CustomDbRow
impl Unpin for CustomDbRow
impl UnwindSafe for CustomDbRow
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