Skip to main content

HealthResultGeneric

Type Alias HealthResultGeneric 

Source
pub type HealthResultGeneric<R> = HealthAnalysisResult<R>;
Expand description

Typed health analysis result generic over the CLI-owned grouping resolver.

Aliased Type§

pub struct HealthResultGeneric<R> {
    pub report: HealthReport,
    pub grouping: Option<HealthGrouping>,
    pub group_resolver: Option<R>,
    pub config: ResolvedConfig,
    pub elapsed: Duration,
    pub timings: Option<HealthTimings>,
    pub coverage_gaps_has_findings: bool,
    pub should_fail_on_coverage_gaps: bool,
}

Fields§

§report: HealthReport§grouping: Option<HealthGrouping>

Per-group health output when grouping is active.

None for the default run; Some for any grouped invocation. The top-level report reflects the active run scope; consumers that want per-group metrics read from grouping.groups.

§group_resolver: Option<R>

Optional grouping resolver retained by callers that need to tag findings after analysis without rediscovering ownership or package metadata.

§config: ResolvedConfig§elapsed: Duration§timings: Option<HealthTimings>§coverage_gaps_has_findings: bool§should_fail_on_coverage_gaps: bool