pub struct BadRequestReply {
pub errcode: String,
pub error: String,
}
Expand description
The reply obtained when something’s gone wrong.
Fields§
§errcode: String
§error: String
Trait Implementations§
Source§impl Clone for BadRequestReply
impl Clone for BadRequestReply
Source§fn clone(&self) -> BadRequestReply
fn clone(&self) -> BadRequestReply
Returns a duplicate 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 BadRequestReply
impl Debug for BadRequestReply
Source§impl<'de> Deserialize<'de> for BadRequestReply
impl<'de> Deserialize<'de> for BadRequestReply
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 BadRequestReply
impl RefUnwindSafe for BadRequestReply
impl Send for BadRequestReply
impl Sync for BadRequestReply
impl Unpin for BadRequestReply
impl UnwindSafe for BadRequestReply
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