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