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