Struct AnyQueryResult  
pub struct AnyQueryResult { /* private fields */ }Implementations§
§impl AnyQueryResult
 
impl AnyQueryResult
pub fn rows_affected(&self) -> u64
pub fn last_insert_id(&self) -> Option<i64>
Trait Implementations§
§impl Debug for AnyQueryResult
 
impl Debug for AnyQueryResult
§impl Default for AnyQueryResult
 
impl Default for AnyQueryResult
§fn default() -> AnyQueryResult
 
fn default() -> AnyQueryResult
Returns the “default value” for a type. Read more
§impl Extend<AnyQueryResult> for AnyQueryResult
 
impl Extend<AnyQueryResult> for AnyQueryResult
§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
§impl From<PgQueryResult> for AnyQueryResult
 
impl From<PgQueryResult> for AnyQueryResult
§fn from(done: PgQueryResult) -> AnyQueryResult
 
fn from(done: PgQueryResult) -> AnyQueryResult
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnyQueryResult
impl RefUnwindSafe for AnyQueryResult
impl Send for AnyQueryResult
impl Sync for AnyQueryResult
impl Unpin for AnyQueryResult
impl UnwindSafe for AnyQueryResult
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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§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