Struct mongodb::coll::results::DeleteResult [−][src]
pub struct DeleteResult { pub acknowledged: bool, pub deleted_count: i32, pub write_exception: Option<WriteException>, }
Results for a deletion operation.
Fields
acknowledged: bool
deleted_count: i32
write_exception: Option<WriteException>
Methods
impl DeleteResult
[src]
impl DeleteResult
pub fn new(doc: Document, exception: Option<WriteException>) -> DeleteResult
[src]
pub fn new(doc: Document, exception: Option<WriteException>) -> DeleteResult
Extracts server reply information into a result.
pub fn with_bulk_result(result: BulkDeleteResult) -> DeleteResult
[src]
pub fn with_bulk_result(result: BulkDeleteResult) -> DeleteResult
Trait Implementations
impl Clone for DeleteResult
[src]
impl Clone for DeleteResult
fn clone(&self) -> DeleteResult
[src]
fn clone(&self) -> DeleteResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for DeleteResult
impl Send for DeleteResult
impl Sync for DeleteResult
impl Sync for DeleteResult