Struct elastic_responses::bulk::OkItem [] [src]

pub struct OkItem<TIndex = String, TType = String, TId = String> { /* fields omitted */ }

A successful bulk response item.

Methods

impl<TIndex, TType, TId> OkItem<TIndex, TType, TId>
[src]

[src]

The bulk action for this item.

[src]

The document version after this item.

[src]

Whether or not this item created the document.

created will only be true if the action is Index and the document didn't already exist.

[src]

Whether or not this item found the document.

found will only be true if the action is Delete and the document did already exist.

[src]

The index for this item.

[src]

The document type for this item.

[src]

The document id for this item.

Trait Implementations

impl<TIndex: Debug, TType: Debug, TId: Debug> Debug for OkItem<TIndex, TType, TId>
[src]

[src]

Formats the value using the given formatter.

impl<TIndex: Clone, TType: Clone, TId: Clone> Clone for OkItem<TIndex, TType, TId>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more