#[repr(C)]pub struct DbRows {
pub columns: StringVec,
pub values: DbValueVec,
}Expand description
The result of db.query(...) — a column-named, row-major value grid.
Flat (not nested vectors) for a simple FFI shape: cell (row, col) is
values[row * num_columns + col].
Fields§
§columns: StringVecColumn names; len() is the number of columns.
values: DbValueVecAll cells, row-major. len() is num_rows * num_columns.
Implementations§
Trait Implementations§
impl StructuralPartialEq for DbRows
Auto Trait Implementations§
impl Freeze for DbRows
impl RefUnwindSafe for DbRows
impl Send for DbRows
impl Sync for DbRows
impl Unpin for DbRows
impl UnsafeUnpin for DbRows
impl UnwindSafe for DbRows
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