pub struct HealthPipelineInputs {Show 14 fields
pub config: ResolvedConfig,
pub files: Vec<DiscoveredFile>,
pub modules: Vec<ModuleInfo>,
pub config_ms: f64,
pub discover_ms: f64,
pub parse_ms: f64,
pub parse_cpu_ms: f64,
pub shared_parse: bool,
pub pre_computed_analysis: Option<DeadCodeAnalysisArtifacts>,
pub dead_code_results: Option<AnalysisResults>,
pub styling_artifacts: Option<Arc<StylingAnalysisArtifacts>>,
pub pre_computed_duplication: Option<DuplicationReport>,
pub workspaces: Vec<WorkspaceInfo>,
pub workspace_diagnostics: Vec<WorkspaceDiagnostic>,
}Expand description
Discovery / parse inputs the CLI resolves before calling the engine.
Fields§
§config: ResolvedConfigResolved project config the run executes under.
files: Vec<DiscoveredFile>Discovered files for the analysis scope.
modules: Vec<ModuleInfo>Parsed modules for the discovered files.
config_ms: f64Config resolution wall time in milliseconds.
discover_ms: f64File discovery wall time in milliseconds.
parse_ms: f64Parse wall time in milliseconds.
parse_cpu_ms: f64Summed parse CPU time across rayon workers in milliseconds; 0.0 when
parse output was reused.
True when discover + parse were reused from the upstream check pass.
pre_computed_analysis: Option<DeadCodeAnalysisArtifacts>Dead-code analysis artifacts precomputed by the caller, so the health pipeline skips its own graph build and dead-code pass.
dead_code_results: Option<AnalysisResults>Dead-code results reused by advisory sections that do not need the graph.
styling_artifacts: Option<Arc<StylingAnalysisArtifacts>>Styling analysis artifacts shared from an upstream pass.
pre_computed_duplication: Option<DuplicationReport>Duplication report precomputed by the caller, so the health pipeline skips its own duplication detection.
workspaces: Vec<WorkspaceInfo>Workspace metadata discovered during config resolution.
workspace_diagnostics: Vec<WorkspaceDiagnostic>Diagnostics from workspace discovery (undeclared or invalid members).
Auto Trait Implementations§
impl Freeze for HealthPipelineInputs
impl RefUnwindSafe for HealthPipelineInputs
impl Send for HealthPipelineInputs
impl Sync for HealthPipelineInputs
impl Unpin for HealthPipelineInputs
impl UnsafeUnpin for HealthPipelineInputs
impl UnwindSafe for HealthPipelineInputs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more