Struct sea_orm::MockExecResult
source · Expand description
Defines the results obtained from a MockDatabase
Fields
last_insert_id: u64
The last inserted id on auto-increment
rows_affected: u64
The number of rows affected by the database operation
Trait Implementations
sourceimpl Clone for MockExecResult
impl Clone for MockExecResult
sourcefn clone(&self) -> MockExecResult
fn clone(&self) -> MockExecResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MockExecResult
impl Debug for MockExecResult
sourceimpl Default for MockExecResult
impl Default for MockExecResult
sourcefn default() -> MockExecResult
fn default() -> MockExecResult
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MockExecResult
impl Send for MockExecResult
impl Sync for MockExecResult
impl Unpin for MockExecResult
impl UnwindSafe for MockExecResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more