Struct elastiql::bulk::Response[][src]

pub struct Response<T> {
    pub took: u64,
    pub errors: bool,
    pub items: Vec<Action<T>>,
}
Expand description

The bulk API’s response contains the individual results of each operation in the request, returned in the order submitted. The success or failure of an individual operation does not affect other operations in the request.

Fields

took: u64

How long, in milliseconds, it took to process the bulk request.

errors: bool

If true, one or more of the operations in the bulk request did not complete successfully.

items: Vec<Action<T>>

The bulk response items.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.