Struct mongodb::coll::results::UpdateResult
[−]
[src]
pub struct UpdateResult { pub acknowledged: bool, pub matched_count: i32, pub modified_count: i32, pub upserted_id: Option<Bson>, pub write_exception: Option<WriteException>, }
Results for an update operation.
Fields
acknowledged: bool
matched_count: i32
modified_count: i32
upserted_id: Option<Bson>
write_exception: Option<WriteException>
Methods
impl UpdateResult
[src]
fn new(doc: Document, exception: Option<WriteException>) -> UpdateResult
Extracts server reply information into a result.
fn with_bulk_result(result: BulkUpdateResult) -> UpdateResult
Trait Implementations
impl Clone for UpdateResult
[src]
fn clone(&self) -> UpdateResult
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