[−][src]Struct mongodb::coll::results::BulkWriteResult
Results for a bulk write operation.
Fields
acknowledged: bool
inserted_count: i32
inserted_ids: BTreeMap<i64, Bson>
matched_count: i32
modified_count: i32
deleted_count: i32
upserted_count: i32
upserted_ids: BTreeMap<i64, Bson>
bulk_write_exception: Option<BulkWriteException>
Methods
impl BulkWriteResult
[src]
pub fn new() -> BulkWriteResult
[src]
Extracts server reply information into a result.
pub fn process_bulk_delete_result(
&mut self,
result: BulkDeleteResult,
models: Vec<WriteModel>,
exception: &mut BulkWriteException
) -> bool
[src]
&mut self,
result: BulkDeleteResult,
models: Vec<WriteModel>,
exception: &mut BulkWriteException
) -> bool
Adds the data in a BulkDeleteResult to this result.
pub fn process_insert_many_result(
&mut self,
result: InsertManyResult,
models: Vec<WriteModel>,
start_index: i64,
exception: &mut BulkWriteException
) -> bool
[src]
&mut self,
result: InsertManyResult,
models: Vec<WriteModel>,
start_index: i64,
exception: &mut BulkWriteException
) -> bool
Adds the data in an InsertManyResult to this result.
pub fn process_bulk_update_result(
&mut self,
result: BulkUpdateResult,
models: Vec<WriteModel>,
start_index: i64,
exception: &mut BulkWriteException
) -> bool
[src]
&mut self,
result: BulkUpdateResult,
models: Vec<WriteModel>,
start_index: i64,
exception: &mut BulkWriteException
) -> bool
Adds the data in a BulkUpdateResult to this result.
Trait Implementations
impl Default for BulkWriteResult
[src]
fn default() -> BulkWriteResult
[src]
impl Clone for BulkWriteResult
[src]
fn clone(&self) -> BulkWriteResult
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<BulkWriteResult> for BulkWriteResult
[src]
fn eq(&self, other: &BulkWriteResult) -> bool
[src]
fn ne(&self, other: &BulkWriteResult) -> bool
[src]
impl Debug for BulkWriteResult
[src]
Auto Trait Implementations
impl Unpin for BulkWriteResult
impl Sync for BulkWriteResult
impl Send for BulkWriteResult
impl UnwindSafe for BulkWriteResult
impl RefUnwindSafe for BulkWriteResult
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self