Struct PgQueryResult  
pub struct PgQueryResult {
    pub(crate) rows_affected: u64,
}Fields§
§rows_affected: u64Implementations§
§impl PgQueryResult
 
impl PgQueryResult
pub fn rows_affected(&self) -> u64
Trait Implementations§
§impl Debug for PgQueryResult
 
impl Debug for PgQueryResult
§impl Default for PgQueryResult
 
impl Default for PgQueryResult
§fn default() -> PgQueryResult
 
fn default() -> PgQueryResult
Returns the “default value” for a type. Read more
§impl Extend<PgQueryResult> for PgQueryResult
 
impl Extend<PgQueryResult> for PgQueryResult
§fn extend<T>(&mut self, iter: T)where
    T: IntoIterator<Item = PgQueryResult>,
 
fn extend<T>(&mut self, iter: T)where
    T: IntoIterator<Item = PgQueryResult>,
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.
§impl From<PgQueryResult> for ExecResult
 
impl From<PgQueryResult> for ExecResult
§fn from(result: PgQueryResult) -> ExecResult
 
fn from(result: PgQueryResult) -> ExecResult
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PgQueryResult
impl RefUnwindSafe for PgQueryResult
impl Send for PgQueryResult
impl Sync for PgQueryResult
impl Unpin for PgQueryResult
impl UnwindSafe for PgQueryResult
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