pub struct ErrorCauseValue {
pub caused_by: Option<ErrorCause>,
pub suppressed: Option<Vec<ErrorCause>>,
pub reason: Option<String>,
pub root_cause: Option<Vec<ErrorCause>>,
pub stack_trace: Option<String>,
pub type: String,
}Fields§
§caused_by: Option<ErrorCause>§suppressed: Option<Vec<ErrorCause>>§reason: Option<String>A human-readable explanation of the error, in English.
root_cause: Option<Vec<ErrorCause>>§stack_trace: Option<String>The server stack trace, present only if the error_trace=true parameter was sent with the request.
type: StringThe type of error.
Implementations§
Source§impl ErrorCauseValue
impl ErrorCauseValue
pub fn new(type: String) -> ErrorCauseValue
Trait Implementations§
Source§impl Clone for ErrorCauseValue
impl Clone for ErrorCauseValue
Source§fn clone(&self) -> ErrorCauseValue
fn clone(&self) -> ErrorCauseValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorCauseValue
impl Debug for ErrorCauseValue
Source§impl Default for ErrorCauseValue
impl Default for ErrorCauseValue
Source§fn default() -> ErrorCauseValue
fn default() -> ErrorCauseValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorCauseValue
impl<'de> Deserialize<'de> for ErrorCauseValue
Source§fn 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
Source§impl PartialEq for ErrorCauseValue
impl PartialEq for ErrorCauseValue
Source§fn eq(&self, other: &ErrorCauseValue) -> bool
fn eq(&self, other: &ErrorCauseValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ErrorCauseValue
impl Serialize for ErrorCauseValue
impl StructuralPartialEq for ErrorCauseValue
Auto Trait Implementations§
impl Freeze for ErrorCauseValue
impl RefUnwindSafe for ErrorCauseValue
impl Send for ErrorCauseValue
impl Sync for ErrorCauseValue
impl Unpin for ErrorCauseValue
impl UnsafeUnpin for ErrorCauseValue
impl UnwindSafe for ErrorCauseValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more