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