pub struct ErrorResponseBody {
pub error: Option<Message>,
}
Fields§
§error: Option<Message>
An optional, structured error message.
Trait Implementations§
Source§impl Clone for ErrorResponseBody
impl Clone for ErrorResponseBody
Source§fn clone(&self) -> ErrorResponseBody
fn clone(&self) -> ErrorResponseBody
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 ErrorResponseBody
impl Debug for ErrorResponseBody
Source§impl Default for ErrorResponseBody
impl Default for ErrorResponseBody
Source§fn default() -> ErrorResponseBody
fn default() -> ErrorResponseBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorResponseBody
impl<'de> Deserialize<'de> for ErrorResponseBody
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 PartialEq for ErrorResponseBody
impl PartialEq for ErrorResponseBody
Source§impl Serialize for ErrorResponseBody
impl Serialize for ErrorResponseBody
impl StructuralPartialEq for ErrorResponseBody
Auto Trait Implementations§
impl Freeze for ErrorResponseBody
impl RefUnwindSafe for ErrorResponseBody
impl Send for ErrorResponseBody
impl Sync for ErrorResponseBody
impl Unpin for ErrorResponseBody
impl UnwindSafe for ErrorResponseBody
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