pub struct ErrorDetail {
pub code: Option<String>,
pub message: Option<String>,
pub target: Option<String>,
pub details: Vec<ErrorDetail>,
pub additional_info: Vec<ErrorAdditionalInfo>,
}
Expand description
The error detail.
Fields§
§code: Option<String>
The error code.
message: Option<String>
The error message.
target: Option<String>
The error target.
details: Vec<ErrorDetail>
The error details.
additional_info: Vec<ErrorAdditionalInfo>
The error additional info.
Implementations§
source§impl ErrorDetail
impl ErrorDetail
Trait Implementations§
source§impl Clone for ErrorDetail
impl Clone for ErrorDetail
source§fn clone(&self) -> ErrorDetail
fn clone(&self) -> ErrorDetail
Returns a copy of the value. Read more
1.0.0 · 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 ErrorDetail
impl Debug for ErrorDetail
source§impl Default for ErrorDetail
impl Default for ErrorDetail
source§fn default() -> ErrorDetail
fn default() -> ErrorDetail
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ErrorDetail
impl<'de> Deserialize<'de> for ErrorDetail
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<ErrorDetail> for ErrorDetail
impl PartialEq<ErrorDetail> for ErrorDetail
source§fn eq(&self, other: &ErrorDetail) -> bool
fn eq(&self, other: &ErrorDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.