pub struct MySqlQueryResult { /* private fields */ }
Available on crate feature
mysql
only.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>(&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
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
This conversion attempts to save last_insert_id by converting to i64.
impl From<MySqlQueryResult> for AnyQueryResult
This conversion attempts to save last_insert_id by converting to i64.
Sourceยงfn from(done: MySqlQueryResult) -> AnyQueryResult
fn from(done: MySqlQueryResult) -> AnyQueryResult
Converts to this type from the input type.
Auto Trait Implementationsยง
impl Freeze for MySqlQueryResult
impl RefUnwindSafe for MySqlQueryResult
impl Send for MySqlQueryResult
impl Sync for MySqlQueryResult
impl Unpin for MySqlQueryResult
impl UnwindSafe for MySqlQueryResult
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more