Struct elastic::client::responses::BulkItemError
[−]
pub struct BulkItemError<TIndex = String, TType = String, TId = String> { pub action: BulkAction, pub index: TIndex, pub ty: TType, pub id: TId, pub err: Value, }
A failed bulk response item.
Fields
action: BulkAction
index: TIndex
ty: TType
id: TId
err: Value
Trait Implementations
impl<TIndex, TType, TId> Display for BulkItemError<TIndex, TType, TId> where
TId: Display + Debug,
TIndex: Display + Debug,
TType: Display + Debug,
TId: Display + Debug,
TIndex: Display + Debug,
TType: Display + Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<TIndex, TType, TId> Error for BulkItemError<TIndex, TType, TId> where
TId: Display + Debug,
TIndex: Display + Debug,
TType: Display + Debug,
TId: Display + Debug,
TIndex: Display + Debug,
TType: Display + Debug,
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl<TIndex, TType, TId> Debug for BulkItemError<TIndex, TType, TId> where
TId: Debug,
TIndex: Debug,
TType: Debug,
TId: Debug,
TIndex: Debug,
TType: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<TIndex, TType, TId> Clone for BulkItemError<TIndex, TType, TId> where
TId: Clone,
TIndex: Clone,
TType: Clone,
TId: Clone,
TIndex: Clone,
TType: Clone,