Struct StatementResult
pub struct StatementResult {
pub columns: Vec<SqlColumn>,
pub rows: Vec<Vec<OwnedValue>>,
pub rows_affected: u64,
pub last_insert_rowid: Option<i64>,
pub rows_read: Option<u64>,
pub rows_written: Option<u64>,
}Fields§
§columns: Vec<SqlColumn>§rows: Vec<Vec<OwnedValue>>§rows_affected: u64§last_insert_rowid: Option<i64>§rows_read: Option<u64>§rows_written: Option<u64>Implementations§
§impl StatementResult
impl StatementResult
pub fn to_wire_json(&self) -> Result<Value, StatementRunError>
Trait Implementations§
§impl Clone for StatementResult
impl Clone for StatementResult
§fn clone(&self) -> StatementResult
fn clone(&self) -> StatementResult
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 StatementResult
impl RefUnwindSafe for StatementResult
impl Send for StatementResult
impl Sync for StatementResult
impl Unpin for StatementResult
impl UnsafeUnpin for StatementResult
impl UnwindSafe for StatementResult
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