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
part of the wire contract, 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.