pub enum WellbeingLevel {
Settled,
WorthWatching,
UnderStrain,
}Expand description
A coarse, plain wellbeing level for a system — never a diagnosis, never a number to the person.
Variants§
Settled
Little or nothing accumulating.
WorthWatching
A little going on — worth being aware of.
UnderStrain
Several things adding up.
Implementations§
Trait Implementations§
Source§impl Clone for WellbeingLevel
impl Clone for WellbeingLevel
impl Copy for WellbeingLevel
Source§impl Debug for WellbeingLevel
impl Debug for WellbeingLevel
Source§impl<'de> Deserialize<'de> for WellbeingLevel
impl<'de> Deserialize<'de> for WellbeingLevel
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 WellbeingLevel
Source§impl Ord for WellbeingLevel
impl Ord for WellbeingLevel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WellbeingLevel
impl PartialEq for WellbeingLevel
Source§impl PartialOrd for WellbeingLevel
impl PartialOrd for WellbeingLevel
Source§impl Serialize for WellbeingLevel
impl Serialize for WellbeingLevel
impl StructuralPartialEq for WellbeingLevel
Auto Trait Implementations§
impl Freeze for WellbeingLevel
impl RefUnwindSafe for WellbeingLevel
impl Send for WellbeingLevel
impl Sync for WellbeingLevel
impl Unpin for WellbeingLevel
impl UnsafeUnpin for WellbeingLevel
impl UnwindSafe for WellbeingLevel
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