pub struct DmoResponse(/* private fields */);
Expand description
Tuple, returned from all data-manipulation operations (insert, update, upsert, replace, delete).
Implementations§
Source§impl DmoResponse
impl DmoResponse
Sourcepub fn decode<T>(self) -> Result<T, DecodingError>where
T: DeserializeOwned,
pub fn decode<T>(self) -> Result<T, DecodingError>where
T: DeserializeOwned,
Decode row into type.
Raises error if no rows returned.
Sourcepub fn decode_opt<T>(self) -> Result<Option<T>, DecodingError>where
T: DeserializeOwned,
pub fn decode_opt<T>(self) -> Result<Option<T>, DecodingError>where
T: DeserializeOwned,
Decode row into type or return None
if no rows returned.
Trait Implementations§
Source§impl Clone for DmoResponse
impl Clone for DmoResponse
Source§fn clone(&self) -> DmoResponse
fn clone(&self) -> DmoResponse
Returns a copy of the value. Read more
1.0.0 · 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 DmoResponse
impl Debug for DmoResponse
Source§impl PartialEq for DmoResponse
impl PartialEq for DmoResponse
impl StructuralPartialEq for DmoResponse
Auto Trait Implementations§
impl Freeze for DmoResponse
impl RefUnwindSafe for DmoResponse
impl Send for DmoResponse
impl Sync for DmoResponse
impl Unpin for DmoResponse
impl UnwindSafe for DmoResponse
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