pub struct RuleCoverage {
pub id: String,
pub revision: u64,
pub lifecycle: String,
pub level: String,
pub checker: Option<String>,
pub statement: String,
pub disposition: RuleDisposition,
pub evidence: Vec<CoverageEvidence>,
pub note: Option<String>,
}Expand description
One row of the coverage matrix: a pinned rule (or a citation that failed to join one), its pinned identity, the disposition the evidence earned, and the joins behind it.
Fields§
§id: String§revision: u64§lifecycle: StringThe pinned effective lifecycle (approved/enforced) and RFC-2119
level (must/should), verbatim from the pin (or from the citation
on a not-applicable row).
level: String§checker: Option<String>The pinned checker binding (gate:<id>, agent-judgement,
manual-attestation) — the mechanism column.
statement: StringThe pinned normative statement, so the machine form names what was
judged, not just ids. Empty (and absent) on not-applicable rows:
a citation carries no statement, and the fold never invents one.
disposition: RuleDisposition§evidence: Vec<CoverageEvidence>The joined evidence in log (seq) order. Empty exactly when the
disposition is not-evaluated.
note: Option<String>Why a not-applicable row exists (the digest the citation joined
against versus the pin’s); absent on pinned rows.
Trait Implementations§
Source§impl Clone for RuleCoverage
impl Clone for RuleCoverage
Source§fn clone(&self) -> RuleCoverage
fn clone(&self) -> RuleCoverage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more