[][src]Struct mongodb::coll::error::BulkWriteError

pub struct BulkWriteError {
    pub index: i32,
    pub code: i32,
    pub message: String,
    pub request: Option<WriteModel>,
}

The error struct for a single bulk-write step, indicating the request and its index in the original bulk-write request.

Fields

Methods

impl BulkWriteError
[src]

Returns a new BulkWriteError containing the provided error information.

Parses a Bson document into a BulkWriteError.

Trait Implementations

impl Clone for BulkWriteError
[src]

Performs copy-assignment from source. Read more

impl PartialEq<BulkWriteError> for BulkWriteError
[src]

impl Display for BulkWriteError
[src]

impl Debug for BulkWriteError
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

impl<T> Same for T

Should always be Self