Struct SqlReadRows
pub struct SqlReadRows {
pub columns: Vec<String>,
pub rows: Vec<Vec<OwnedValue>>,
}Expand description
The result of a raw parameterized read (ReadConn::read_sql): the result columns in order
and each row’s cells (mapped from their raw SQLite storage class). The caller owns how to
render this — e.g. zipping columns with each row into keyed objects.
Fields§
§columns: Vec<String>§rows: Vec<Vec<OwnedValue>>Trait Implementations§
§impl Clone for SqlReadRows
impl Clone for SqlReadRows
§fn clone(&self) -> SqlReadRows
fn clone(&self) -> SqlReadRows
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 SqlReadRows
impl RefUnwindSafe for SqlReadRows
impl Send for SqlReadRows
impl Sync for SqlReadRows
impl Unpin for SqlReadRows
impl UnsafeUnpin for SqlReadRows
impl UnwindSafe for SqlReadRows
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