Struct sqlx_core::mysql::MySqlQueryResult
source · pub struct MySqlQueryResult { /* private fields */ }
Implementations§
source§impl MySqlQueryResult
impl MySqlQueryResult
pub fn last_insert_id(&self) -> u64
pub fn rows_affected(&self) -> u64
Trait Implementations§
source§impl Debug for MySqlQueryResult
impl Debug for MySqlQueryResult
source§impl Default for MySqlQueryResult
impl Default for MySqlQueryResult
source§fn default() -> MySqlQueryResult
fn default() -> MySqlQueryResult
Returns the “default value” for a type. Read more
source§impl Extend<MySqlQueryResult> for MySqlQueryResult
impl Extend<MySqlQueryResult> for MySqlQueryResult
source§fn extend<T: IntoIterator<Item = MySqlQueryResult>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = MySqlQueryResult>>(&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<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.