pub enum MessageLevel {
Info,
Warning,
Error,
Success,
}Expand description
Message levels for user notifications
Variants§
Trait Implementations§
Source§impl Clone for MessageLevel
impl Clone for MessageLevel
Source§fn clone(&self) -> MessageLevel
fn clone(&self) -> MessageLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageLevel
Source§impl Debug for MessageLevel
impl Debug for MessageLevel
impl Eq for MessageLevel
Source§impl PartialEq for MessageLevel
impl PartialEq for MessageLevel
Source§fn eq(&self, other: &MessageLevel) -> bool
fn eq(&self, other: &MessageLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageLevel
Auto Trait Implementations§
impl Freeze for MessageLevel
impl RefUnwindSafe for MessageLevel
impl Send for MessageLevel
impl Sync for MessageLevel
impl Unpin for MessageLevel
impl UnsafeUnpin for MessageLevel
impl UnwindSafe for MessageLevel
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