pub enum SeverityClass {
High,
Medium,
Low,
Unknown,
}Expand description
Severity bucket used for --fail-on and human-facing grouping.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SeverityClass
impl Clone for SeverityClass
Source§fn clone(&self) -> SeverityClass
fn clone(&self) -> SeverityClass
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 moreSource§impl Debug for SeverityClass
impl Debug for SeverityClass
Source§impl Ord for SeverityClass
impl Ord for SeverityClass
Source§fn cmp(&self, other: &SeverityClass) -> Ordering
fn cmp(&self, other: &SeverityClass) -> Ordering
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
Source§impl PartialEq for SeverityClass
impl PartialEq for SeverityClass
Source§fn eq(&self, other: &SeverityClass) -> bool
fn eq(&self, other: &SeverityClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SeverityClass
impl PartialOrd for SeverityClass
Source§impl Serialize for SeverityClass
impl Serialize for SeverityClass
impl Copy for SeverityClass
impl Eq for SeverityClass
impl StructuralPartialEq for SeverityClass
Auto Trait Implementations§
impl Freeze for SeverityClass
impl RefUnwindSafe for SeverityClass
impl Send for SeverityClass
impl Sync for SeverityClass
impl Unpin for SeverityClass
impl UnsafeUnpin for SeverityClass
impl UnwindSafe for SeverityClass
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