pub struct ErrorContent {
pub ename: String,
pub evalue: String,
pub traceback: Vec<String>,
}
Expand description
Content of an error response.
Fields§
§ename: String
Exception name as a string.
evalue: String
Exception value, as a string.
traceback: Vec<String>
Traceback frames as strings.
Trait Implementations§
Source§impl Debug for ErrorContent
impl Debug for ErrorContent
Source§impl<'de> Deserialize<'de> for ErrorContent
impl<'de> Deserialize<'de> for ErrorContent
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 ErrorContent
impl RefUnwindSafe for ErrorContent
impl Send for ErrorContent
impl Sync for ErrorContent
impl Unpin for ErrorContent
impl UnwindSafe for ErrorContent
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