pub struct CheckOutput { /* private fields */ }Expand description
Output evidence from one selected, enabled, applicable check.
The shared evaluation boundary derives coverage from completed scopes and
gaps and reports malformed evidence through EvaluationError.
Implementations§
Source§impl CheckOutput
impl CheckOutput
Sourcepub fn from_coverage(
findings: Vec<Finding>,
evaluated_scopes: Vec<EvaluationScope>,
gaps: Vec<CoverageGap>,
) -> Self
pub fn from_coverage( findings: Vec<Finding>, evaluated_scopes: Vec<EvaluationScope>, gaps: Vec<CoverageGap>, ) -> Self
Collect findings, completed scopes, and coverage gaps through the one check-output construction path.
Classification and validation happen when evaluate_checks projects
this evidence into a CheckEvaluation.
Sourcepub fn with_engine_prediction(self, prediction: EnginePredictionV1) -> Self
pub fn with_engine_prediction(self, prediction: EnginePredictionV1) -> Self
Attach one engine-prediction record to this check output.
The shared evaluation boundary validates facet/scope/finding relationships after it knows the authoritative parent check id.
Sourcepub fn with_engine_prediction_v2(self, prediction: EnginePredictionV2) -> Self
pub fn with_engine_prediction_v2(self, prediction: EnginePredictionV2) -> Self
Attach a bounded-overflow V2 engine-prediction record.
Sourcepub fn with_engine_prediction_v3(self, prediction: EnginePredictionV3) -> Self
pub fn with_engine_prediction_v3(self, prediction: EnginePredictionV3) -> Self
Attach an exact-source V3 engine-prediction record.
Sourcepub fn with_engine_prediction_v4(self, prediction: EnginePredictionV4) -> Self
pub fn with_engine_prediction_v4(self, prediction: EnginePredictionV4) -> Self
Attach a result-bearing V4 engine-prediction record.
Sourcepub fn with_engine_prediction_v5(self, prediction: EnginePredictionV5) -> Self
pub fn with_engine_prediction_v5(self, prediction: EnginePredictionV5) -> Self
Attach a raw-animation-inventory V5 engine-prediction record.
Sourcepub fn with_engine_prediction_v6(self, prediction: EnginePredictionV6) -> Self
pub fn with_engine_prediction_v6(self, prediction: EnginePredictionV6) -> Self
Attach a transform-path-and-intent-bound V6 engine-prediction record.
Sourcepub fn evaluated_scopes(&self) -> &[EvaluationScope]
pub fn evaluated_scopes(&self) -> &[EvaluationScope]
Stable identifiers for work that completed.
Sourcepub fn gaps(&self) -> &[CoverageGap]
pub fn gaps(&self) -> &[CoverageGap]
Typed reasons work did not complete.
Sourcepub const fn engine_prediction(&self) -> Option<&EnginePredictionV1>
pub const fn engine_prediction(&self) -> Option<&EnginePredictionV1>
Engine-prediction facets emitted by this check, when any.
Sourcepub const fn engine_prediction_v2(&self) -> Option<&EnginePredictionV2>
pub const fn engine_prediction_v2(&self) -> Option<&EnginePredictionV2>
V2 prediction attachment used by the current output-v13 lint path.
Sourcepub const fn engine_prediction_v3(&self) -> Option<&EnginePredictionV3>
pub const fn engine_prediction_v3(&self) -> Option<&EnginePredictionV3>
V3 prediction attachment used by current exact-source lint output.
Sourcepub const fn engine_prediction_v4(&self) -> Option<&EnginePredictionV4>
pub const fn engine_prediction_v4(&self) -> Option<&EnginePredictionV4>
V4 result-bearing prediction attachment.
Sourcepub const fn engine_prediction_v5(&self) -> Option<&EnginePredictionV5>
pub const fn engine_prediction_v5(&self) -> Option<&EnginePredictionV5>
V5 raw-animation-inventory prediction attachment.
Sourcepub const fn engine_prediction_v6(&self) -> Option<&EnginePredictionV6>
pub const fn engine_prediction_v6(&self) -> Option<&EnginePredictionV6>
V6 transform-path-and-intent-bound prediction attachment.
Trait Implementations§
Source§impl Clone for CheckOutput
impl Clone for CheckOutput
Source§fn clone(&self) -> CheckOutput
fn clone(&self) -> CheckOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more