Struct libsql_client::proto::StmtResult
source · pub struct StmtResult {
pub cols: Vec<Col>,
pub rows: Vec<Vec<Value>>,
pub affected_row_count: u64,
pub last_insert_rowid: Option<i64>,
}
Fields§
§cols: Vec<Col>
§rows: Vec<Vec<Value>>
§affected_row_count: u64
§last_insert_rowid: Option<i64>
Trait Implementations§
source§impl Clone for StmtResult
impl Clone for StmtResult
source§fn clone(&self) -> StmtResult
fn clone(&self) -> StmtResult
Returns a copy 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 moresource§impl Debug for StmtResult
impl Debug for StmtResult
source§impl<'de> Deserialize<'de> for StmtResult
impl<'de> Deserialize<'de> for StmtResult
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<StmtResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<StmtResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<StmtResult> for ResultSet
impl From<StmtResult> for ResultSet
source§fn from(value: StmtResult) -> Self
fn from(value: StmtResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StmtResult
impl Send for StmtResult
impl Sync for StmtResult
impl Unpin for StmtResult
impl UnwindSafe for StmtResult
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request