Struct sqlx::postgres::any::AnyQueryResult
source ยท pub struct AnyQueryResult { /* private fields */ }
Available on crate feature
postgres
only.Implementationsยง
sourceยงimpl AnyQueryResult
impl AnyQueryResult
pub fn rows_affected(&self) -> u64
pub fn last_insert_id(&self) -> Option<i64>
Trait Implementationsยง
sourceยงimpl Debug for AnyQueryResult
impl Debug for AnyQueryResult
sourceยงimpl Default for AnyQueryResult
impl Default for AnyQueryResult
sourceยงfn default() -> AnyQueryResult
fn default() -> AnyQueryResult
Returns the โdefault valueโ for a type. Read more
sourceยงimpl Extend<AnyQueryResult> for AnyQueryResult
impl Extend<AnyQueryResult> for AnyQueryResult
sourceยง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
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 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