pub struct CheckPayload {
pub queried_against: QueriedAgainst,
pub results: SeriesVerdict,
pub diagnostics: Diagnostics,
pub project_suggestions: Vec<ProjectSuggestion>,
pub pr_commits: Option<Vec<PrCommit>>,
pub self_projects: Option<BTreeSet<ProjectName>>,
pub verdict_fingerprint: Option<VerdictFingerprint>,
pub resolver_coverage: Option<ResolverCoverage>,
pub fingerprint_version: Option<u32>,
pub apply: Option<ApplyForecast>,
pub target_findings: Option<TargetFindings>,
}Expand description
The parsed payload of every check-family verb.
Fields§
§queried_against: QueriedAgainstWhat the verb was queried against (a series or a pin).
results: SeriesVerdictPer-pin verdicts plus summary.
diagnostics: DiagnosticsSeries-wide diagnostics (untracked calls, suggested suites).
project_suggestions: Vec<ProjectSuggestion>Projects the untracked-call analysis suggests adding.
pr_commits: Option<Vec<PrCommit>>Inner PR-branch commits for 2-parent merge inputs, None for
everything else. The None vs Some(vec![]) distinction is
wire-load-bearing, so no skip_serializing_if.
self_projects: Option<BTreeSet<ProjectName>>Projects excluded from the tracked-dependency tally. Always emitted so a consumer can tell an empty set from an old binary.
verdict_fingerprint: Option<VerdictFingerprint>Stable join key for this verdict, omitted for inputs with no cache key (patch, range, PR, or an unresolvable pin).
resolver_coverage: Option<ResolverCoverage>Symbol classes this binary checks, for the measurement fold. Always emitted so a consumer tells it from an old binary.
fingerprint_version: Option<u32>The fingerprint generation this binary stamped. Always emitted.
apply: Option<ApplyForecast>Apply-axis prediction. Absent when no target context was supplied: the axis was not evaluated, never “clean”.
target_findings: Option<TargetFindings>Symbol-axis target findings, None when no target context.
Implementations§
Source§impl CheckPayload
impl CheckPayload
Sourcepub fn view(&self) -> SeriesEvaluationView<'_>
pub fn view(&self) -> SeriesEvaluationView<'_>
A borrowed view exposing every query and finding accessor. The
same view is reachable from a batch row via
BatchResult::evaluation, so both check paths read alike.
Sourcepub fn tracked_refs(&self) -> Option<u32>
pub fn tracked_refs(&self) -> Option<u32>
Self-excluded tracked-dependency count from the wire-recorded
self-projects. None when the producer predates the field.
Sourcepub fn worst_verdict(&self) -> AggregateVerdict
pub fn worst_verdict(&self) -> AggregateVerdict
Sourcepub fn has_blocking_reason(&self) -> bool
pub fn has_blocking_reason(&self) -> bool
Sourcepub fn pins_in(&self, verdict: VerdictKind) -> impl Iterator<Item = &PinVerdict>
pub fn pins_in(&self, verdict: VerdictKind) -> impl Iterator<Item = &PinVerdict>
Sourcepub fn reasons_for(&self, pin: &Pin) -> impl Iterator<Item = &Reason>
pub fn reasons_for(&self, pin: &Pin) -> impl Iterator<Item = &Reason>
Sourcepub fn pin_by_project(&self, project: &ProjectName) -> Option<&PinVerdict>
pub fn pin_by_project(&self, project: &ProjectName) -> Option<&PinVerdict>
Sourcepub fn missing_test_modules(
&self,
) -> &BTreeMap<RelativePath, BTreeMap<ModuleName, usize>>
pub fn missing_test_modules( &self, ) -> &BTreeMap<RelativePath, BTreeMap<ModuleName, usize>>
Sourcepub fn test_module_symbol_missing(
&self,
) -> impl Iterator<Item = TestModuleSymbolMissingFinding<'_>>
pub fn test_module_symbol_missing( &self, ) -> impl Iterator<Item = TestModuleSymbolMissingFinding<'_>>
Sourcepub fn header_file_missing(
&self,
) -> impl Iterator<Item = HeaderFileMissingFinding<'_>>
pub fn header_file_missing( &self, ) -> impl Iterator<Item = HeaderFileMissingFinding<'_>>
Sourcepub fn behaviour_module_missing(
&self,
) -> impl Iterator<Item = BehaviourModuleMissingFinding<'_>>
pub fn behaviour_module_missing( &self, ) -> impl Iterator<Item = BehaviourModuleMissingFinding<'_>>
Sourcepub fn versioned_machine_snapshot_missing(
&self,
) -> impl Iterator<Item = VersionedMachineSnapshotMissingFinding<'_>>
pub fn versioned_machine_snapshot_missing( &self, ) -> impl Iterator<Item = VersionedMachineSnapshotMissingFinding<'_>>
Sourcepub fn wire_constant_bindings_missing(
&self,
) -> impl Iterator<Item = WireConstantBindingsMissingFinding<'_>>
pub fn wire_constant_bindings_missing( &self, ) -> impl Iterator<Item = WireConstantBindingsMissingFinding<'_>>
Trait Implementations§
Source§impl Clone for CheckPayload
impl Clone for CheckPayload
Source§fn clone(&self) -> CheckPayload
fn clone(&self) -> CheckPayload
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more