pub enum CategorySeverity {
Nominal,
Caution,
Alarm,
}Expand description
How remarkable one categorical state is (spec §6.1).
A statement about the domain, not about presentation: whether a state is an abnormal condition is something only the engine knows. Applications decide what — if anything — each level looks like.
Variants§
Nominal
The ordinary condition; nothing to notice.
Caution
Worth attention, but not a fault.
Alarm
An abnormal condition.
Trait Implementations§
Source§impl Clone for CategorySeverity
impl Clone for CategorySeverity
Source§fn clone(&self) -> CategorySeverity
fn clone(&self) -> CategorySeverity
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 CategorySeverity
Source§impl Debug for CategorySeverity
impl Debug for CategorySeverity
Source§impl<'de> Deserialize<'de> for CategorySeverity
impl<'de> Deserialize<'de> for CategorySeverity
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 CategorySeverity
Source§impl PartialEq for CategorySeverity
impl PartialEq for CategorySeverity
Source§impl Serialize for CategorySeverity
impl Serialize for CategorySeverity
impl StructuralPartialEq for CategorySeverity
Auto Trait Implementations§
impl Freeze for CategorySeverity
impl RefUnwindSafe for CategorySeverity
impl Send for CategorySeverity
impl Sync for CategorySeverity
impl Unpin for CategorySeverity
impl UnsafeUnpin for CategorySeverity
impl UnwindSafe for CategorySeverity
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