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

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 Debug for BulkWriteError
[src]

Formats the value using the given formatter.

impl Clone for BulkWriteError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for BulkWriteError
[src]

Formats the value using the given formatter.