pub struct FindingSortKey {
pub severity_rank: u8,
pub sensor_id: String,
pub path: String,
pub line: u32,
pub code: String,
pub message: String,
}Expand description
A stable key used for sorting findings deterministically.
Fields§
§severity_rank: u8§sensor_id: String§path: String§line: u32§code: String§message: StringTrait Implementations§
Source§impl Clone for FindingSortKey
impl Clone for FindingSortKey
Source§fn clone(&self) -> FindingSortKey
fn clone(&self) -> FindingSortKey
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 FindingSortKey
impl Debug for FindingSortKey
Source§impl Ord for FindingSortKey
impl Ord for FindingSortKey
Source§fn cmp(&self, other: &FindingSortKey) -> Ordering
fn cmp(&self, other: &FindingSortKey) -> 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 FindingSortKey
impl PartialEq for FindingSortKey
Source§impl PartialOrd for FindingSortKey
impl PartialOrd for FindingSortKey
impl Eq for FindingSortKey
impl StructuralPartialEq for FindingSortKey
Auto Trait Implementations§
impl Freeze for FindingSortKey
impl RefUnwindSafe for FindingSortKey
impl Send for FindingSortKey
impl Sync for FindingSortKey
impl Unpin for FindingSortKey
impl UnsafeUnpin for FindingSortKey
impl UnwindSafe for FindingSortKey
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