#[non_exhaustive]pub struct ExecuteResult { /* private fields */ }Expand description
Result for statements that do not return rows (INSERT, UPDATE, DELETE, DDL).
Implementations§
Source§impl ExecuteResult
impl ExecuteResult
Sourcepub fn command_tag(&self) -> &CommandTag
pub fn command_tag(&self) -> &CommandTag
Returns the command tag.
Sourcepub fn rows_affected(&self) -> Option<u64>
pub fn rows_affected(&self) -> Option<u64>
Returns the number of rows affected (if parseable from the tag).
Trait Implementations§
Source§impl Clone for ExecuteResult
impl Clone for ExecuteResult
Source§fn clone(&self) -> ExecuteResult
fn clone(&self) -> ExecuteResult
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 ExecuteResult
impl Debug for ExecuteResult
Source§impl PartialEq for ExecuteResult
impl PartialEq for ExecuteResult
Source§fn eq(&self, other: &ExecuteResult) -> bool
fn eq(&self, other: &ExecuteResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExecuteResult
impl StructuralPartialEq for ExecuteResult
Auto Trait Implementations§
impl Freeze for ExecuteResult
impl RefUnwindSafe for ExecuteResult
impl Send for ExecuteResult
impl Sync for ExecuteResult
impl Unpin for ExecuteResult
impl UnsafeUnpin for ExecuteResult
impl UnwindSafe for ExecuteResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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