pub enum RiskPriority {
P0,
P1,
P2,
P3,
P4,
}Expand description
Sortable risk priority labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RiskPriority
impl Clone for RiskPriority
Source§fn clone(&self) -> RiskPriority
fn clone(&self) -> RiskPriority
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 RiskPriority
impl Debug for RiskPriority
Source§impl Display for RiskPriority
impl Display for RiskPriority
Source§impl Hash for RiskPriority
impl Hash for RiskPriority
Source§impl Ord for RiskPriority
impl Ord for RiskPriority
Source§fn cmp(&self, other: &RiskPriority) -> Ordering
fn cmp(&self, other: &RiskPriority) -> 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 RiskPriority
impl PartialEq for RiskPriority
Source§fn eq(&self, other: &RiskPriority) -> bool
fn eq(&self, other: &RiskPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RiskPriority
impl PartialOrd for RiskPriority
impl Copy for RiskPriority
impl Eq for RiskPriority
impl StructuralPartialEq for RiskPriority
Auto Trait Implementations§
impl Freeze for RiskPriority
impl RefUnwindSafe for RiskPriority
impl Send for RiskPriority
impl Sync for RiskPriority
impl Unpin for RiskPriority
impl UnsafeUnpin for RiskPriority
impl UnwindSafe for RiskPriority
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