Struct sea_orm::MockExecResult
source ยท pub struct MockExecResult {
pub last_insert_id: u64,
pub rows_affected: u64,
}
Available on crate feature
mock
only.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ยง
sourceยงimpl Clone for MockExecResult
impl Clone for MockExecResult
sourceยงfn clone(&self) -> MockExecResult
fn clone(&self) -> MockExecResult
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 MockExecResult
impl Debug for MockExecResult
sourceยงimpl Default for MockExecResult
impl Default for MockExecResult
sourceยงfn default() -> MockExecResult
fn default() -> MockExecResult
Returns the โdefault valueโ for a type. Read more