Struct clust::ApiErrorResponse
source · pub struct ApiErrorResponse {
pub _type: String,
pub error: ApiErrorBody,
}
Expand description
The response body of the API error defined at the errors.
Fields§
§_type: String
The type of response. It will be error
.
error: ApiErrorBody
The error body.
Trait Implementations§
source§impl Clone for ApiErrorResponse
impl Clone for ApiErrorResponse
source§fn clone(&self) -> ApiErrorResponse
fn clone(&self) -> ApiErrorResponse
Returns a copy 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 ApiErrorResponse
impl Debug for ApiErrorResponse
source§impl<'de> Deserialize<'de> for ApiErrorResponse
impl<'de> Deserialize<'de> for ApiErrorResponse
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
source§impl Display for ApiErrorResponse
impl Display for ApiErrorResponse
source§impl PartialEq for ApiErrorResponse
impl PartialEq for ApiErrorResponse
source§fn eq(&self, other: &ApiErrorResponse) -> bool
fn eq(&self, other: &ApiErrorResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ApiErrorResponse
impl Serialize for ApiErrorResponse
impl StructuralPartialEq for ApiErrorResponse
Auto Trait Implementations§
impl Freeze for ApiErrorResponse
impl RefUnwindSafe for ApiErrorResponse
impl Send for ApiErrorResponse
impl Sync for ApiErrorResponse
impl Unpin for ApiErrorResponse
impl UnwindSafe for ApiErrorResponse
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