Struct sqlx::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>(&mut self, iter: T)where
T: IntoIterator<Item = AnyQueryResult>,
fn extend<T>(&mut self, iter: T)where T: IntoIterator<Item = AnyQueryResult>,
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) -> AnyQueryResult
fn from(done: MssqlQueryResult) -> AnyQueryResult
Converts to this type from the input type.
sourceยงimpl From<MySqlQueryResult> for AnyQueryResult
impl From<MySqlQueryResult> for AnyQueryResult
sourceยงfn from(done: MySqlQueryResult) -> AnyQueryResult
fn from(done: MySqlQueryResult) -> AnyQueryResult
Converts to this type from the input type.
sourceยงimpl From<PgQueryResult> for AnyQueryResult
impl From<PgQueryResult> for AnyQueryResult
sourceยงfn from(done: PgQueryResult) -> AnyQueryResult
fn from(done: PgQueryResult) -> AnyQueryResult
Converts to this type from the input type.
sourceยงimpl From<SqliteQueryResult> for AnyQueryResult
impl From<SqliteQueryResult> for AnyQueryResult
sourceยงfn from(done: SqliteQueryResult) -> AnyQueryResult
fn from(done: SqliteQueryResult) -> AnyQueryResult
Converts to this type from the input type.