pub struct ExecuteOutput {
pub rows: Vec<Row>,
pub rows_changed: u64,
}Expand description
The result of executing a SQL query.
Fields§
§rows: Vec<Row>The rows returned by the query. Empty for statements that do not produce output (e.g. INSERT, CREATE TABLE).
rows_changed: u64The number of rows changed by the statement. Zero for queries that only read data.
Trait Implementations§
Source§impl Clone for ExecuteOutput
impl Clone for ExecuteOutput
Source§fn clone(&self) -> ExecuteOutput
fn clone(&self) -> ExecuteOutput
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 moreSource§impl Debug for ExecuteOutput
impl Debug for ExecuteOutput
Source§impl<'de> Deserialize<'de> for ExecuteOutput
impl<'de> Deserialize<'de> for ExecuteOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ExecuteOutput
impl JsonSchema for ExecuteOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExecuteOutput
impl PartialEq for ExecuteOutput
Source§impl PartialOrd for ExecuteOutput
impl PartialOrd for ExecuteOutput
Source§impl Serialize for ExecuteOutput
impl Serialize for ExecuteOutput
impl StructuralPartialEq for ExecuteOutput
Auto Trait Implementations§
impl Freeze for ExecuteOutput
impl RefUnwindSafe for ExecuteOutput
impl Send for ExecuteOutput
impl Sync for ExecuteOutput
impl Unpin for ExecuteOutput
impl UnsafeUnpin for ExecuteOutput
impl UnwindSafe for ExecuteOutput
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