pub enum DiagnosisSeverity {
Error,
Warning,
}Expand description
Diagnostic severity used by health reports.
Variants§
Error
A failing condition that should be treated as an error.
Warning
A non-fatal condition that may still require attention.
Trait Implementations§
Source§impl Clone for DiagnosisSeverity
impl Clone for DiagnosisSeverity
Source§fn clone(&self) -> DiagnosisSeverity
fn clone(&self) -> DiagnosisSeverity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagnosisSeverity
impl Debug for DiagnosisSeverity
Source§impl<'de> Deserialize<'de> for DiagnosisSeverity
impl<'de> Deserialize<'de> for DiagnosisSeverity
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
Source§impl Ord for DiagnosisSeverity
impl Ord for DiagnosisSeverity
Source§fn cmp(&self, other: &DiagnosisSeverity) -> Ordering
fn cmp(&self, other: &DiagnosisSeverity) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DiagnosisSeverity
impl PartialEq for DiagnosisSeverity
Source§impl PartialOrd for DiagnosisSeverity
impl PartialOrd for DiagnosisSeverity
Source§impl Serialize for DiagnosisSeverity
impl Serialize for DiagnosisSeverity
impl Copy for DiagnosisSeverity
impl Eq for DiagnosisSeverity
impl StructuralPartialEq for DiagnosisSeverity
Auto Trait Implementations§
impl Freeze for DiagnosisSeverity
impl RefUnwindSafe for DiagnosisSeverity
impl Send for DiagnosisSeverity
impl Sync for DiagnosisSeverity
impl Unpin for DiagnosisSeverity
impl UnwindSafe for DiagnosisSeverity
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