pub enum UpdateRoleError {
APIErrorResponse(APIErrorResponse),
UnknownValue(Value),
}
Expand description
UpdateRoleError is a struct for typed errors of method RolesAPI::update_role
Variants§
APIErrorResponse(APIErrorResponse)
UnknownValue(Value)
Trait Implementations§
Source§impl Clone for UpdateRoleError
impl Clone for UpdateRoleError
Source§fn clone(&self) -> UpdateRoleError
fn clone(&self) -> UpdateRoleError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateRoleError
impl Debug for UpdateRoleError
Source§impl<'de> Deserialize<'de> for UpdateRoleError
impl<'de> Deserialize<'de> for UpdateRoleError
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 UpdateRoleError
impl RefUnwindSafe for UpdateRoleError
impl Send for UpdateRoleError
impl Sync for UpdateRoleError
impl Unpin for UpdateRoleError
impl UnwindSafe for UpdateRoleError
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