Struct elastic_responses::bulk::ErrorItem
[−]
[src]
pub struct ErrorItem<TIndex = String, TType = String, TId = String> { /* fields omitted */ }
A failed bulk response item.
Methods
impl<TIndex, TType, TId> ErrorItem<TIndex, TType, TId>
[src]
fn action(&self) -> Action
[src]
The bulk action for this item.
fn index(&self) -> &TIndex
[src]
The index for this item.
fn ty(&self) -> &TType
[src]
The document type for this item.
fn id(&self) -> &TId
[src]
The document id for this item.
Trait Implementations
impl<TIndex: Debug, TType: Debug, TId: Debug> Debug for ErrorItem<TIndex, TType, TId>
[src]
impl<TIndex: Clone, TType: Clone, TId: Clone> Clone for ErrorItem<TIndex, TType, TId>
[src]
fn clone(&self) -> ErrorItem<TIndex, TType, TId>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<TIndex, TType, TId> Display for ErrorItem<TIndex, TType, TId> where
TIndex: Display + Debug,
TType: Display + Debug,
TId: Display + Debug,
[src]
TIndex: Display + Debug,
TType: Display + Debug,
TId: Display + Debug,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<TIndex, TType, TId> Error for ErrorItem<TIndex, TType, TId> where
TIndex: Display + Debug,
TType: Display + Debug,
TId: Display + Debug,
[src]
TIndex: Display + Debug,
TType: Display + Debug,
TId: Display + Debug,