pub struct CanonicalError {
pub kind: ErrorKind,
pub code: Option<String>,
pub class: Option<String>,
pub message: Option<String>,
pub normalized_message: Option<String>,
pub http_status: Option<u16>,
pub retryable: Option<bool>,
pub frames: Vec<StackFrame>,
}Fields§
§kind: ErrorKind§code: Option<String>§class: Option<String>§message: Option<String>§normalized_message: Option<String>§http_status: Option<u16>§retryable: Option<bool>§frames: Vec<StackFrame>Trait Implementations§
Source§impl Clone for CanonicalError
impl Clone for CanonicalError
Source§impl Debug for CanonicalError
impl Debug for CanonicalError
Source§impl<'de> Deserialize<'de> for CanonicalError
impl<'de> Deserialize<'de> for CanonicalError
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
impl Eq for CanonicalError
Source§impl JsonSchema for CanonicalError
impl JsonSchema for CanonicalError
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CanonicalError
impl PartialEq for CanonicalError
Source§impl Serialize for CanonicalError
impl Serialize for CanonicalError
impl StructuralPartialEq for CanonicalError
Auto Trait Implementations§
impl Forget for CanonicalError
impl Freeze for CanonicalError
impl Move for CanonicalError
impl RefUnwindSafe for CanonicalError
impl Send for CanonicalError
impl Sync for CanonicalError
impl Unpin for CanonicalError
impl UnsafeUnpin for CanonicalError
impl UnwindSafe for CanonicalError
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