pub struct LintReport {
pub findings: Vec<Finding>,
pub base_decode_ok: bool,
}Expand description
The collected lint findings for an image, plus whether the base configuration
decoded. Mirrors DecodeResults for the lint path: produced once by
lint_report, rendered by the pure render functions, and used to compute the
exit code.
Fields§
§findings: Vec<Finding>The findings, ordered deterministically (errors first, then by code).
base_decode_ok: boolWhether the base configuration block decoded. When false, the checks that depend on it (capacity and cross-field consistency) were skipped, while the reserved-bit check still ran; a no-findings result is then not a full clean bill, and the human output says so.
Auto Trait Implementations§
impl Freeze for LintReport
impl RefUnwindSafe for LintReport
impl Send for LintReport
impl Sync for LintReport
impl Unpin for LintReport
impl UnsafeUnpin for LintReport
impl UnwindSafe for LintReport
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