pub struct PgQueryResult { /* private fields */ }
Available on crate feature
postgres
only.Implementationsยง
Sourceยงimpl PgQueryResult
impl PgQueryResult
pub fn rows_affected(&self) -> u64
Trait Implementationsยง
Sourceยงimpl Debug for PgQueryResult
impl Debug for PgQueryResult
Sourceยงimpl Default for PgQueryResult
impl Default for PgQueryResult
Sourceยงfn default() -> PgQueryResult
fn default() -> PgQueryResult
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Extend<PgQueryResult> for PgQueryResult
impl Extend<PgQueryResult> for PgQueryResult
Sourceยง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
Sourceยงimpl From<PgQueryResult> for AnyQueryResult
impl From<PgQueryResult> for AnyQueryResult
Sourceยงfn from(done: PgQueryResult) -> AnyQueryResult
fn from(done: PgQueryResult) -> AnyQueryResult
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
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