pub struct FailureResponse {
pub meta: ResponseMeta,
pub errors: Vec<ResponseErrorEntry>,
}Expand description
An API response indicating a failure.
If you want to deserialize a response from the API, you probably want Response instead. (this type doesn’t handle parsing successful responses.)
Fields§
§meta: ResponseMeta§errors: Vec<ResponseErrorEntry>Trait Implementations§
Source§impl Debug for FailureResponse
impl Debug for FailureResponse
Source§impl<'de> Deserialize<'de> for FailureResponse
impl<'de> Deserialize<'de> for FailureResponse
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 FailureResponse
impl RefUnwindSafe for FailureResponse
impl Send for FailureResponse
impl Sync for FailureResponse
impl Unpin for FailureResponse
impl UnwindSafe for FailureResponse
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