#[non_exhaustive]pub struct Report {
pub findings: Vec<Finding>,
pub provenance: Vec<Provenance>,
pub timeline: Vec<TimelineEvent>,
pub metadata: Vec<Evidence>,
}Expand description
The aggregate normalized report: every analyzer’s findings, the merged timeline, provenance breadcrumbs, and report-level metadata.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.findings: Vec<Finding>All findings, normalized across analyzers.
provenance: Vec<Provenance>Provenance breadcrumbs (attribution).
timeline: Vec<TimelineEvent>Merged super-timeline.
metadata: Vec<Evidence>Report-level metadata (tool versions, case identifiers, …).
Implementations§
Source§impl Report
impl Report
Sourcepub fn max_severity(&self) -> Option<Severity>
pub fn max_severity(&self) -> Option<Severity>
The highest rated severity among all findings, or None when clean or
entirely unrated.
Sourcepub fn findings_at_least(&self, min: Severity) -> impl Iterator<Item = &Finding>
pub fn findings_at_least(&self, min: Severity) -> impl Iterator<Item = &Finding>
Findings rated at least min (unrated findings are excluded).
Sourcepub fn unrated_findings(&self) -> impl Iterator<Item = &Finding>
pub fn unrated_findings(&self) -> impl Iterator<Item = &Finding>
Findings the analyzer deliberately left unrated (severity: None).
Trait Implementations§
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