#[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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpdateUserResponse
Source§impl Debug for UpdateUserResponse
impl Debug for UpdateUserResponse
impl Eq for UpdateUserResponse
Source§impl PartialEq for UpdateUserResponse
impl PartialEq for UpdateUserResponse
Source§fn eq(&self, other: &UpdateUserResponse) -> bool
fn eq(&self, other: &UpdateUserResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateUserResponse
Source§impl U8ReprEnum for UpdateUserResponse
impl U8ReprEnum 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 UnsafeUnpin 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