pub enum GetStaffError {
Status404(),
Status422(HttpValidationError),
UnknownValue(Value),
}
Expand description
struct for typed errors of method get_staff
Variants
Status404()
Status422(HttpValidationError)
UnknownValue(Value)
Trait Implementations
sourceimpl Clone for GetStaffError
impl Clone for GetStaffError
sourcefn clone(&self) -> GetStaffError
fn clone(&self) -> GetStaffError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetStaffError
impl Debug for GetStaffError
sourceimpl<'de> Deserialize<'de> for GetStaffError
impl<'de> Deserialize<'de> for GetStaffError
sourcefn 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
sourceimpl Serialize for GetStaffError
impl Serialize for GetStaffError
Auto Trait Implementations
impl RefUnwindSafe for GetStaffError
impl Send for GetStaffError
impl Sync for GetStaffError
impl Unpin for GetStaffError
impl UnwindSafe for GetStaffError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more