Struct sqlx_core::any::AnyQueryResult
source · [−]pub struct AnyQueryResult { /* private fields */ }
Implementations
sourceimpl AnyQueryResult
impl AnyQueryResult
pub fn rows_affected(&self) -> u64
pub fn last_insert_id(&self) -> Option<i64>
Trait Implementations
sourceimpl Debug for AnyQueryResult
impl Debug for AnyQueryResult
sourceimpl Default for AnyQueryResult
impl Default for AnyQueryResult
sourcefn default() -> AnyQueryResult
fn default() -> AnyQueryResult
Returns the “default value” for a type. Read more
sourceimpl Extend<AnyQueryResult> for AnyQueryResult
impl Extend<AnyQueryResult> for AnyQueryResult
sourcefn 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
sourcefn 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.
sourcefn 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
sourceimpl From<MssqlQueryResult> for AnyQueryResult
impl From<MssqlQueryResult> for AnyQueryResult
sourcefn from(done: MssqlQueryResult) -> Self
fn from(done: MssqlQueryResult) -> Self
Performs the conversion.
sourceimpl From<MySqlQueryResult> for AnyQueryResult
impl From<MySqlQueryResult> for AnyQueryResult
sourcefn from(done: MySqlQueryResult) -> Self
fn from(done: MySqlQueryResult) -> Self
Performs the conversion.
sourceimpl From<PgQueryResult> for AnyQueryResult
impl From<PgQueryResult> for AnyQueryResult
sourcefn from(done: PgQueryResult) -> Self
fn from(done: PgQueryResult) -> Self
Performs the conversion.
sourceimpl From<SqliteQueryResult> for AnyQueryResult
impl From<SqliteQueryResult> for AnyQueryResult
sourcefn from(done: SqliteQueryResult) -> Self
fn from(done: SqliteQueryResult) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AnyQueryResult
impl Send for AnyQueryResult
impl Sync for AnyQueryResult
impl Unpin for AnyQueryResult
impl UnwindSafe for AnyQueryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more