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]
fn new(doc: Document, exception: Option<WriteException>) -> DeleteResult
Extracts server reply information into a result.
fn with_bulk_result(result: BulkDeleteResult) -> DeleteResult
Trait Implementations
impl Clone for DeleteResult
[src]
fn clone(&self) -> DeleteResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more