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