pub struct UserStatus(/* private fields */);
Expand description
User status section
Trait Implementations§
Source§impl Clone for UserStatus
impl Clone for UserStatus
Source§fn clone(&self) -> UserStatus
fn clone(&self) -> UserStatus
Returns a copy 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 UserStatus
impl Debug for UserStatus
Source§impl Default for UserStatus
impl Default for UserStatus
Source§fn default() -> UserStatus
fn default() -> UserStatus
Returns the “default value” for a type. Read more
Source§impl FromBytes for UserStatus
impl FromBytes for UserStatus
Source§fn from_bytes(i: &[u8]) -> IResult<&[u8], UserStatus, (&[u8], ErrorKind)>
fn from_bytes(i: &[u8]) -> IResult<&[u8], UserStatus, (&[u8], ErrorKind)>
Deserialize struct using
nom
from raw bytesSource§impl PartialEq for UserStatus
impl PartialEq for UserStatus
Source§impl ToBytes for UserStatus
impl ToBytes for UserStatus
impl Copy for UserStatus
impl Eq for UserStatus
impl StructuralPartialEq for UserStatus
Auto Trait Implementations§
impl Freeze for UserStatus
impl RefUnwindSafe for UserStatus
impl Send for UserStatus
impl Sync for UserStatus
impl Unpin for UserStatus
impl UnwindSafe for UserStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more