pub struct Finding {
pub severity: Severity,
pub category: Category,
pub impact: Impact,
pub title: String,
pub description: String,
pub fix: Option<Fix>,
}Expand description
One diagnostic produced by a check.
Fields§
§severity: SeverityHow strongly the tool recommends acting.
category: CategoryWhich check produced this finding.
impact: ImpactRough size of the build-time win.
title: StringOne-line summary of the issue.
description: StringLonger explanation, possibly multiple lines.
fix: Option<Fix>The concrete change to make, when one applies.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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