pub enum StatusError {
Status400(ErrorResponse),
Status401(ErrorResponse),
Status403(ErrorResponse),
Status404(ErrorResponse),
Status429(ErrorResponse),
Status422(HttpValidationError),
UnknownValue(Value),
}Expand description
struct for typed errors of method status
Variants§
Status400(ErrorResponse)
Status401(ErrorResponse)
Status403(ErrorResponse)
Status404(ErrorResponse)
Status429(ErrorResponse)
Status422(HttpValidationError)
UnknownValue(Value)
Trait Implementations§
Source§impl Clone for StatusError
impl Clone for StatusError
Source§impl Debug for StatusError
impl Debug for StatusError
Source§impl<'de> Deserialize<'de> for StatusError
impl<'de> Deserialize<'de> for StatusError
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 StatusError
impl RefUnwindSafe for StatusError
impl Send for StatusError
impl Sync for StatusError
impl Unpin for StatusError
impl UnsafeUnpin for StatusError
impl UnwindSafe for StatusError
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