pub struct Report {
pub analyzer: String,
pub key: String,
pub rule: String,
pub severity: Severity,
}Expand description
One analyzer’s report of an advisory.
Fields§
§analyzer: StringThe analyzer that reported it.
key: StringThe finding’s rendered rto_graph::FindingKey — still addressable, and
still owned by its own layer.
rule: StringThe rule or advisory id this analyzer fired, which is not always the
canonical one: osv-scanner may name an advisory by its GHSA id where
cargo-audit names it by its RUSTSEC id.
severity: SeverityThe severity that analyzer assigned.
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.