pub enum AttentionBadge {
None,
Silence,
Unseen,
Activity,
Bell,
}Variants§
Implementations§
Source§impl AttentionBadge
impl AttentionBadge
pub fn from_alerts(alerts: AlertState) -> Self
Trait Implementations§
Source§impl Clone for AttentionBadge
impl Clone for AttentionBadge
Source§fn clone(&self) -> AttentionBadge
fn clone(&self) -> AttentionBadge
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 AttentionBadge
impl Debug for AttentionBadge
Source§impl Default for AttentionBadge
impl Default for AttentionBadge
Source§fn default() -> AttentionBadge
fn default() -> AttentionBadge
Returns the “default value” for a type. Read more
Source§impl Ord for AttentionBadge
impl Ord for AttentionBadge
Source§fn cmp(&self, other: &AttentionBadge) -> Ordering
fn cmp(&self, other: &AttentionBadge) -> 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 AttentionBadge
impl PartialEq for AttentionBadge
Source§impl PartialOrd for AttentionBadge
impl PartialOrd for AttentionBadge
impl Copy for AttentionBadge
impl Eq for AttentionBadge
impl StructuralPartialEq for AttentionBadge
Auto Trait Implementations§
impl Freeze for AttentionBadge
impl RefUnwindSafe for AttentionBadge
impl Send for AttentionBadge
impl Sync for AttentionBadge
impl Unpin for AttentionBadge
impl UnsafeUnpin for AttentionBadge
impl UnwindSafe for AttentionBadge
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