pub enum NotificationKind {
Simple,
Warning,
Error,
}
Expand description
NotificationKind
defines a type that can represent different kinds of notifications.
The enum has three variants:
Simple
, Warning
, and Error
, each representing a different kind of notification.
Variants§
Trait Implementations§
Source§impl Clone for NotificationKind
impl Clone for NotificationKind
Source§fn clone(&self) -> NotificationKind
fn clone(&self) -> NotificationKind
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 NotificationKind
impl Debug for NotificationKind
Source§impl Into<u32> for NotificationKind
impl Into<u32> for NotificationKind
Source§impl Ord for NotificationKind
impl Ord for NotificationKind
Source§fn cmp(&self, other: &NotificationKind) -> Ordering
fn cmp(&self, other: &NotificationKind) -> 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 NotificationKind
impl PartialEq for NotificationKind
Source§impl PartialOrd for NotificationKind
impl PartialOrd for NotificationKind
impl Eq for NotificationKind
impl StructuralPartialEq for NotificationKind
Auto Trait Implementations§
impl Freeze for NotificationKind
impl RefUnwindSafe for NotificationKind
impl Send for NotificationKind
impl Sync for NotificationKind
impl Unpin for NotificationKind
impl UnwindSafe for NotificationKind
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