pub enum Tone {
Good,
Warn,
Bad,
Neutral,
Quiet,
}Expand description
What a shown fact means for the reader. On the wire in kebab-case, as an attention item carries it.
Variants§
Good
All is well, or a change for the better.
Warn
Worth a look: something waits, or nears a limit.
Bad
Something failed or is wrong.
Neutral
A plain fact.
Quiet
A fact in the background, such as an idle slot or a note.
Trait Implementations§
impl Copy for Tone
Source§impl<'de> Deserialize<'de> for Tone
impl<'de> Deserialize<'de> for Tone
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Tone
impl StructuralPartialEq for Tone
Auto Trait Implementations§
impl Forget for Tone
impl Freeze for Tone
impl Move for Tone
impl RefUnwindSafe for Tone
impl Send for Tone
impl Sync for Tone
impl Unpin for Tone
impl UnsafeUnpin for Tone
impl UnwindSafe for Tone
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.