Struct sqlx::mysql::MySqlQueryResult
source · [−]pub struct MySqlQueryResult { /* private fields */ }
This is supported on crate feature
mysql
only.Implementations
sourceimpl MySqlQueryResult
impl MySqlQueryResult
pub fn last_insert_id(&self) -> u64
pub fn rows_affected(&self) -> u64
Trait Implementations
sourceimpl Debug for MySqlQueryResult
impl Debug for MySqlQueryResult
sourceimpl Default for MySqlQueryResult
impl Default for MySqlQueryResult
sourcefn default() -> MySqlQueryResult
fn default() -> MySqlQueryResult
Returns the “default value” for a type. Read more
sourceimpl Extend<MySqlQueryResult> for MySqlQueryResult
impl Extend<MySqlQueryResult> for MySqlQueryResult
sourcefn extend<T>(&mut self, iter: T) where
T: IntoIterator<Item = MySqlQueryResult>,
fn extend<T>(&mut self, iter: T) where
T: IntoIterator<Item = MySqlQueryResult>,
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<MySqlQueryResult> for AnyQueryResult
impl From<MySqlQueryResult> for AnyQueryResult
sourcefn from(done: MySqlQueryResult) -> AnyQueryResult
fn from(done: MySqlQueryResult) -> AnyQueryResult
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for MySqlQueryResult
impl Send for MySqlQueryResult
impl Sync for MySqlQueryResult
impl Unpin for MySqlQueryResult
impl UnwindSafe for MySqlQueryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more