pub struct OperationResult {
pub success: bool,
pub rows_affected: u64,
pub error: Option<String>,
}Expand description
Result of a single operation in a batch.
Fields§
§success: boolWhether the operation succeeded.
rows_affected: u64Number of rows affected.
error: Option<String>Error message if failed.
Implementations§
Trait Implementations§
Source§impl Clone for OperationResult
impl Clone for OperationResult
Source§fn clone(&self) -> OperationResult
fn clone(&self) -> OperationResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for OperationResult
impl RefUnwindSafe for OperationResult
impl Send for OperationResult
impl Sync for OperationResult
impl Unpin for OperationResult
impl UnwindSafe for OperationResult
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