pub struct SpgQueryResult { /* private fields */ }Expand description
Rows-affected counter returned by every DML execute. SPG
doesn’t have last-insert-id (BIGSERIAL is computed inside
the engine + visible only via RETURNING); only the
affected-count is surfaced here.
Implementations§
Trait Implementations§
Source§impl Clone for SpgQueryResult
impl Clone for SpgQueryResult
Source§fn clone(&self) -> SpgQueryResult
fn clone(&self) -> SpgQueryResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpgQueryResult
impl Debug for SpgQueryResult
Source§impl Default for SpgQueryResult
impl Default for SpgQueryResult
Source§fn default() -> SpgQueryResult
fn default() -> SpgQueryResult
Returns the “default value” for a type. Read more
Source§impl Extend<SpgQueryResult> for SpgQueryResult
impl Extend<SpgQueryResult> for SpgQueryResult
Source§fn extend<T: IntoIterator<Item = SpgQueryResult>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = SpgQueryResult>>(&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
Auto Trait Implementations§
impl Freeze for SpgQueryResult
impl RefUnwindSafe for SpgQueryResult
impl Send for SpgQueryResult
impl Sync for SpgQueryResult
impl Unpin for SpgQueryResult
impl UnsafeUnpin for SpgQueryResult
impl UnwindSafe for SpgQueryResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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