pub struct RcError {
pub error: String,
pub input: Option<Map<String, Value>>,
pub path: String,
pub status: i64,
}Expand description
RcError
JSON schema
{
"type": "object",
"required": [
"error",
"input",
"path",
"status"
],
"properties": {
"error": {
"type": "string"
},
"input": {
"description": "Original request parameters echoed for debugging.",
"type": [
"object",
"null"
],
"additionalProperties": {}
},
"path": {
"type": "string"
},
"status": {
"type": "integer"
}
}
}Fields§
§error: String§input: Option<Map<String, Value>>Original request parameters echoed for debugging.
path: String§status: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for RcError
impl<'de> Deserialize<'de> for RcError
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
Auto Trait Implementations§
impl Freeze for RcError
impl RefUnwindSafe for RcError
impl Send for RcError
impl Sync for RcError
impl Unpin for RcError
impl UnwindSafe for RcError
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