pub struct UserUsernameRef {
pub username: Username,
}Fields§
§username: UsernameImplementations§
Trait Implementations§
Source§impl Clone for UserUsernameRef
impl Clone for UserUsernameRef
Source§fn clone(&self) -> UserUsernameRef
fn clone(&self) -> UserUsernameRef
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 UserUsernameRef
impl Debug for UserUsernameRef
Source§impl From<UserUsernameRef> for UserRef
impl From<UserUsernameRef> for UserRef
Source§fn from(r: UserUsernameRef) -> Self
fn from(r: UserUsernameRef) -> Self
Converts to this type from the input type.
Source§impl Hash for UserUsernameRef
impl Hash for UserUsernameRef
Source§impl Ord for UserUsernameRef
impl Ord for UserUsernameRef
Source§fn cmp(&self, other: &UserUsernameRef) -> Ordering
fn cmp(&self, other: &UserUsernameRef) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserUsernameRef
impl PartialEq for UserUsernameRef
Source§impl PartialOrd for UserUsernameRef
impl PartialOrd for UserUsernameRef
impl Eq for UserUsernameRef
impl StructuralPartialEq for UserUsernameRef
Auto Trait Implementations§
impl Freeze for UserUsernameRef
impl RefUnwindSafe for UserUsernameRef
impl Send for UserUsernameRef
impl Sync for UserUsernameRef
impl Unpin for UserUsernameRef
impl UnwindSafe for UserUsernameRef
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