#[non_exhaustive]pub struct MultiReport {
pub revisions: Vec<String>,
pub revision_mismatch: Option<Vec<String>>,
pub summaries: Vec<RevisionSummary>,
pub requirements: Vec<MultiRow>,
}Expand description
A multi-revision report: the same trace judged against several revisions, aligned per clause.
Like Report, it is an artifact — serialization order is fixed (revisions in the
order requested; clauses in registry-union order) and nothing environment-dependent
appears.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.revisions: Vec<String>The revisions judged, in the order requested — the column order for every row.
revision_mismatch: Option<Vec<String>>The revisions the session declared, when it declared some and none of
Self::revisions is among them. Named explicitly on the command line
or not, judging a recording against rules it was never playing by is the
same mistake, and the reader is told so either way
(crate::declared).
summaries: Vec<RevisionSummary>Per-revision aggregate results, aligned by index with revisions.
requirements: Vec<MultiRow>Union of clauses across the judged revisions, in registry-union order. A clause is included when it exists at one or more of the judged revisions.
Implementations§
Source§impl MultiReport
impl MultiReport
Sourcepub fn verdict(&self) -> Verdict
pub fn verdict(&self) -> Verdict
The overall verdict: the worst across revisions, by the same severity priority a
single Report uses (unsupported ≻ fail ≻ pass-with-warnings ≻ pass). A
multi-revision run is only as good as its weakest revision.
Sourcepub fn render_human(&self) -> String
pub fn render_human(&self) -> String
Renders the human-readable form.
Trait Implementations§
Source§impl Clone for MultiReport
impl Clone for MultiReport
Source§fn clone(&self) -> MultiReport
fn clone(&self) -> MultiReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more