pub struct NestedApiError {
pub message: Option<String>,
pub error: Option<Box<NestedApiError>>,
}Expand description
Shape of deserialized API errors from session JSONL
Fields§
§message: Option<String>§error: Option<Box<NestedApiError>>Trait Implementations§
Source§impl Clone for NestedApiError
impl Clone for NestedApiError
Source§fn clone(&self) -> NestedApiError
fn clone(&self) -> NestedApiError
Returns a duplicate 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 NestedApiError
impl Debug for NestedApiError
Source§impl<'de> Deserialize<'de> for NestedApiError
impl<'de> Deserialize<'de> for NestedApiError
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 NestedApiError
impl RefUnwindSafe for NestedApiError
impl Send for NestedApiError
impl Sync for NestedApiError
impl Unpin for NestedApiError
impl UnsafeUnpin for NestedApiError
impl UnwindSafe for NestedApiError
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