Struct mongodb::coll::results::InsertManyResult
[−]
[src]
pub struct InsertManyResult { pub acknowledged: bool, pub inserted_ids: Option<BTreeMap<i64, Bson>>, pub bulk_write_exception: Option<BulkWriteException>, }
Results for an insertMany operation.
Fields
acknowledged: bool
inserted_ids: Option<BTreeMap<i64, Bson>>
bulk_write_exception: Option<BulkWriteException>
Methods
impl InsertManyResult
[src]
fn new(inserted_ids: Option<BTreeMap<i64, Bson>>, exception: Option<BulkWriteException>) -> InsertManyResult
Extracts server reply information into a result.
Trait Implementations
impl Clone for InsertManyResult
[src]
fn clone(&self) -> InsertManyResult
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