pub enum AvatarPresence {
Online,
Busy,
Away,
Offline,
}Expand description
Presence-dot state painted at the avatar’s bottom-right corner.
Variants§
Online
Connected and active — green.
Busy
Do-not-disturb — red.
Away
Idle / away — amber.
Offline
Disconnected — neutral grey.
Trait Implementations§
Source§impl Clone for AvatarPresence
impl Clone for AvatarPresence
Source§fn clone(&self) -> AvatarPresence
fn clone(&self) -> AvatarPresence
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 AvatarPresence
impl Debug for AvatarPresence
Source§impl Hash for AvatarPresence
impl Hash for AvatarPresence
Source§impl PartialEq for AvatarPresence
impl PartialEq for AvatarPresence
impl Copy for AvatarPresence
impl Eq for AvatarPresence
impl StructuralPartialEq for AvatarPresence
Auto Trait Implementations§
impl Freeze for AvatarPresence
impl RefUnwindSafe for AvatarPresence
impl Send for AvatarPresence
impl Sync for AvatarPresence
impl Unpin for AvatarPresence
impl UnsafeUnpin for AvatarPresence
impl UnwindSafe for AvatarPresence
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