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