Enum notify_rust::NotificationUrgency
[−]
[src]
pub enum NotificationUrgency {
Low,
Normal,
Critical,
}Levels of Urgency.
Variants
LowNormalCriticalTrait Implementations
impl Debug for NotificationUrgency[src]
impl Clone for NotificationUrgency[src]
fn clone(&self) -> NotificationUrgency
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for NotificationUrgency[src]
impl Hash for NotificationUrgency[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for NotificationUrgency[src]
fn eq(&self, __arg_0: &NotificationUrgency) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for NotificationUrgency[src]
impl<'a> From<&'a str> for NotificationUrgency[src]
fn from(string: &'a str) -> NotificationUrgency
Performs the conversion.