#[repr(u8)]pub enum UpdateUserResponse {
Ok = 0,
UserNotFound = 1,
CannotDeleteOnlyAdmin = 2,
NothingWasRequested = 3,
}Variants§
Trait Implementations§
Source§impl ByteRead for UpdateUserResponse
impl ByteRead for UpdateUserResponse
Source§impl ByteWrite for UpdateUserResponse
impl ByteWrite for UpdateUserResponse
Source§impl Clone for UpdateUserResponse
impl Clone for UpdateUserResponse
Source§fn clone(&self) -> UpdateUserResponse
fn clone(&self) -> UpdateUserResponse
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 UpdateUserResponse
impl Debug for UpdateUserResponse
Source§impl PartialEq for UpdateUserResponse
impl PartialEq for UpdateUserResponse
Source§impl U8ReprEnum for UpdateUserResponse
impl U8ReprEnum for UpdateUserResponse
impl Copy for UpdateUserResponse
impl Eq for UpdateUserResponse
impl StructuralPartialEq for UpdateUserResponse
Auto Trait Implementations§
impl Freeze for UpdateUserResponse
impl RefUnwindSafe for UpdateUserResponse
impl Send for UpdateUserResponse
impl Sync for UpdateUserResponse
impl Unpin for UpdateUserResponse
impl UnwindSafe for UpdateUserResponse
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