pub struct LintReport {
pub passed: bool,
pub gates: Vec<GateResult>,
pub total_duration_ms: u64,
pub findings: Vec<LintFinding>,
pub cache_stats: CacheStats,
pub contract_timings: Vec<(String, u64)>,
pub verdict: Verdict,
pub armed_gates: Vec<ArmedGateVerdict>,
pub not_armed: Vec<String>,
pub armed_monotone: Option<String>,
pub armed_shapes_monotone: Option<String>,
}Expand description
Overall lint report.
Fields§
§passed: bool§gates: Vec<GateResult>§total_duration_ms: u64§findings: Vec<LintFinding>§cache_stats: CacheStats§contract_timings: Vec<(String, u64)>Per-contract processing times: (contract_stem, duration_ms).
verdict: VerdictONT-001 §3.9: the meet over the armed gates — what the exit code reports. passed is the legacy
every-gate-passed-or-skipped flag and is kept unchanged for existing readers.
armed_gates: Vec<ArmedGateVerdict>Each armed gate, in armed order, with the verdict it contributed (Unknown(NotRun) if it did not run).
not_armed: Vec<String>Gates that ran but are not armed: printed as Unknown(NotArmed) and excluded from the meet.
armed_monotone: Option<String>The armed_gates monotone check, as the CLI measured it; None when nothing checked it.
armed_shapes_monotone: Option<String>ONT-4c1: the armed_shapes monotone check, as the CLI measured it.
Implementations§
Source§impl LintReport
impl LintReport
Sourcepub fn arm(&mut self, armed: &ArmedGates)
pub fn arm(&mut self, armed: &ArmedGates)
Recompute the meet over armed. Gates that ran but are not armed are listed in not_armed.
Trait Implementations§
Source§impl Clone for LintReport
impl Clone for LintReport
Source§fn clone(&self) -> LintReport
fn clone(&self) -> LintReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LintReport
impl Debug for LintReport
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