Struct sqlx_core::any::AnyQueryResult
source · pub struct AnyQueryResult { /* private fields */ }
Implementations§
source§impl AnyQueryResult
impl AnyQueryResult
pub fn rows_affected(&self) -> u64
pub fn last_insert_id(&self) -> Option<i64>
Trait Implementations§
source§impl Debug for AnyQueryResult
impl Debug for AnyQueryResult
source§impl Default for AnyQueryResult
impl Default for AnyQueryResult
source§fn default() -> AnyQueryResult
fn default() -> AnyQueryResult
Returns the “default value” for a type. Read more
source§impl Extend<AnyQueryResult> for AnyQueryResult
impl Extend<AnyQueryResult> for AnyQueryResult
source§fn extend<T: IntoIterator<Item = AnyQueryResult>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = AnyQueryResult>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl From<MssqlQueryResult> for AnyQueryResult
impl From<MssqlQueryResult> for AnyQueryResult
source§fn from(done: MssqlQueryResult) -> Self
fn from(done: MssqlQueryResult) -> Self
Converts to this type from the input type.
source§impl From<MySqlQueryResult> for AnyQueryResult
impl From<MySqlQueryResult> for AnyQueryResult
source§fn from(done: MySqlQueryResult) -> Self
fn from(done: MySqlQueryResult) -> Self
Converts to this type from the input type.
source§impl From<PgQueryResult> for AnyQueryResult
impl From<PgQueryResult> for AnyQueryResult
source§fn from(done: PgQueryResult) -> Self
fn from(done: PgQueryResult) -> Self
Converts to this type from the input type.
source§impl From<SqliteQueryResult> for AnyQueryResult
impl From<SqliteQueryResult> for AnyQueryResult
source§fn from(done: SqliteQueryResult) -> Self
fn from(done: SqliteQueryResult) -> Self
Converts to this type from the input type.