Struct samples::CurrentUser
source · pub struct CurrentUser { /* private fields */ }Expand description
Displays the current username, if available.
Implementations§
Trait Implementations§
source§impl Clone for CurrentUser
impl Clone for CurrentUser
source§fn clone(&self) -> CurrentUser
fn clone(&self) -> CurrentUser
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 CurrentUser
impl Debug for CurrentUser
Auto Trait Implementations§
impl Freeze for CurrentUser
impl RefUnwindSafe for CurrentUser
impl Send for CurrentUser
impl Sync for CurrentUser
impl Unpin for CurrentUser
impl UnwindSafe for CurrentUser
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