pub enum NotificationLevel {
Info,
Success,
Warning,
Error,
}Expand description
Notification severity level
Variants§
Info
Informational message
Success
Success/completion message
Warning
Warning message
Error
Error message
Implementations§
Trait Implementations§
Source§impl Clone for NotificationLevel
impl Clone for NotificationLevel
Source§fn clone(&self) -> NotificationLevel
fn clone(&self) -> NotificationLevel
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 NotificationLevel
impl Debug for NotificationLevel
Source§impl Default for NotificationLevel
impl Default for NotificationLevel
Source§fn default() -> NotificationLevel
fn default() -> NotificationLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for NotificationLevel
impl PartialEq for NotificationLevel
impl Copy for NotificationLevel
impl Eq for NotificationLevel
impl StructuralPartialEq for NotificationLevel
Auto Trait Implementations§
impl Freeze for NotificationLevel
impl RefUnwindSafe for NotificationLevel
impl Send for NotificationLevel
impl Sync for NotificationLevel
impl Unpin for NotificationLevel
impl UnwindSafe for NotificationLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.