Struct elasticsearch_dsl::search::ErrorCause
source · [−]pub struct ErrorCause {
pub caused_by: Option<Box<ErrorCause>>,
pub reason: Option<String>,
pub root_cause: Vec<ErrorCause>,
pub stack_trace: Option<String>,
pub suppressed: Vec<ErrorCause>,
pub ty: Option<String>,
pub additional_details: Map<String, Value>,
}
Expand description
Error cause
Fields
caused_by: Option<Box<ErrorCause>>
Deeper error cause
reason: Option<String>
Error cause reason
root_cause: Vec<ErrorCause>
Root error cause
stack_trace: Option<String>
Exception stack trace
suppressed: Vec<ErrorCause>
Suppressed error causes
ty: Option<String>
Type of error cause
additional_details: Map<String, Value>
Additional fields that are not part of the strongly typed error cause
Trait Implementations
sourceimpl Clone for ErrorCause
impl Clone for ErrorCause
sourcefn clone(&self) -> ErrorCause
fn clone(&self) -> ErrorCause
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ErrorCause
impl Debug for ErrorCause
sourceimpl<'de> Deserialize<'de> for ErrorCause
impl<'de> Deserialize<'de> for ErrorCause
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ErrorCause> for ErrorCause
impl PartialEq<ErrorCause> for ErrorCause
sourcefn eq(&self, other: &ErrorCause) -> bool
fn eq(&self, other: &ErrorCause) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ErrorCause) -> bool
fn ne(&self, other: &ErrorCause) -> bool
This method tests for !=
.
sourceimpl Serialize for ErrorCause
impl Serialize for ErrorCause
impl StructuralPartialEq for ErrorCause
Auto Trait Implementations
impl RefUnwindSafe for ErrorCause
impl Send for ErrorCause
impl Sync for ErrorCause
impl Unpin for ErrorCause
impl UnwindSafe for ErrorCause
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more