pub struct ErrorError {
pub code: String,
pub doc_url: Option<String>,
pub message: String,
pub request_id: Option<String>,
pub type_: String,
}Expand description
ErrorError
JSON schema
{
"type": "object",
"required": [
"code",
"message",
"type"
],
"properties": {
"code": {
"description": "Catalog code.",
"type": "string"
},
"doc_url": {
"description": "Docs link for this error.",
"type": "string"
},
"message": {
"description": "Human-readable message.",
"type": "string"
},
"request_id": {
"description": "Correlates with server logs/traces.",
"type": "string"
},
"type": {
"description": "Stable machine error type.",
"type": "string"
}
}
}Fields§
§code: StringCatalog code.
doc_url: Option<String>Docs link for this error.
message: StringHuman-readable message.
request_id: Option<String>Correlates with server logs/traces.
type_: StringStable machine error type.
Trait Implementations§
Source§impl Clone for ErrorError
impl Clone for ErrorError
Source§fn clone(&self) -> ErrorError
fn clone(&self) -> ErrorError
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 ErrorError
impl Debug for ErrorError
Source§impl<'de> Deserialize<'de> for ErrorError
impl<'de> Deserialize<'de> for ErrorError
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ErrorError
impl Serialize for ErrorError
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ErrorError
impl RefUnwindSafe for ErrorError
impl Send for ErrorError
impl Sync for ErrorError
impl Unpin for ErrorError
impl UnsafeUnpin for ErrorError
impl UnwindSafe for ErrorError
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