pub struct RankKey {
pub severity: Severity,
pub class: u8,
pub quality: EvidenceQuality,
pub ordinal: u64,
}Expand description
Stable typed rank key; lower values are retained first.
Fields§
§severity: Severity§class: u8§quality: EvidenceQuality§ordinal: u64Trait Implementations§
impl Copy for RankKey
impl Eq for RankKey
Source§impl Ord for RankKey
impl Ord for RankKey
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 PartialOrd for RankKey
impl PartialOrd for RankKey
impl StructuralPartialEq for RankKey
Auto Trait Implementations§
impl Freeze for RankKey
impl RefUnwindSafe for RankKey
impl Send for RankKey
impl Sync for RankKey
impl Unpin for RankKey
impl UnsafeUnpin for RankKey
impl UnwindSafe for RankKey
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