Enum notify_rust::NotificationUrgency
[−]
[src]
pub enum NotificationUrgency { Low, Normal, Critical, }
Levels of Urgency.
Variants
Low
The behaviour for Low
urgency depends on the notification server.
Normal
The behaviour for Normal
urgency depends on the notification server.
Critical
A critical notification will not time out.
Trait Implementations
impl Eq for NotificationUrgency
[src]
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) -> bool
1.0.0
This method tests for !=
.
impl Hash for NotificationUrgency
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy 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 Debug for NotificationUrgency
[src]
impl<'a> From<&'a str> for NotificationUrgency
[src]
fn from(string: &'a str) -> NotificationUrgency
Performs the conversion.