pub struct ResponseStatusError {
pub code: Option<String>,
pub type: Option<String>,
}Expand description
Error that caused the response to fail.
Fields§
§code: Option<String>§type: Option<String>Trait Implementations§
Source§impl Clone for ResponseStatusError
impl Clone for ResponseStatusError
Source§fn clone(&self) -> ResponseStatusError
fn clone(&self) -> ResponseStatusError
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 ResponseStatusError
impl Debug for ResponseStatusError
Source§impl<'de> Deserialize<'de> for ResponseStatusError
impl<'de> Deserialize<'de> for ResponseStatusError
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 ResponseStatusError
impl RefUnwindSafe for ResponseStatusError
impl Send for ResponseStatusError
impl Sync for ResponseStatusError
impl Unpin for ResponseStatusError
impl UnsafeUnpin for ResponseStatusError
impl UnwindSafe for ResponseStatusError
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