pub enum UpdateContactError {
Status400(ErrorModel),
Status404(ErrorModel),
UnknownValue(Value),
}Expand description
struct for typed errors of method update_contact
Variants§
Trait Implementations§
Source§impl Clone for UpdateContactError
impl Clone for UpdateContactError
Source§fn clone(&self) -> UpdateContactError
fn clone(&self) -> UpdateContactError
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 UpdateContactError
impl Debug for UpdateContactError
Source§impl<'de> Deserialize<'de> for UpdateContactError
impl<'de> Deserialize<'de> for UpdateContactError
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 UpdateContactError
impl RefUnwindSafe for UpdateContactError
impl Send for UpdateContactError
impl Sync for UpdateContactError
impl Unpin for UpdateContactError
impl UnwindSafe for UpdateContactError
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