pub struct HealthProgrammaticOutput {
pub report: HealthReport,
pub grouping: Option<HealthGrouping>,
pub root: PathBuf,
pub elapsed: Duration,
pub explain: bool,
pub workspace_diagnostics: Vec<WorkspaceDiagnostic>,
pub next_steps: Vec<NextStep>,
pub telemetry_analysis_run_id: Option<String>,
pub request_outcomes: Option<RequestOutcomes>,
}Expand description
Typed programmatic health / complexity output before JSON serialization.
Fields§
§report: HealthReportTyped health report produced by the run.
grouping: Option<HealthGrouping>Grouped findings when a grouping mode was requested.
root: PathBufProject root used when serializing stable JSON paths.
elapsed: DurationAnalysis wall time, emitted as elapsed_ms when serialized.
explain: boolEmit explain metadata when serialized.
workspace_diagnostics: Vec<WorkspaceDiagnostic>Non-fatal per-file diagnostics collected during the workspace walk.
next_steps: Vec<NextStep>Suggested follow-up commands for the consumer.
telemetry_analysis_run_id: Option<String>Analysis run id stamped into telemetry metadata when present.
request_outcomes: Option<RequestOutcomes>What became of the narrowing requests the run received, emitted as the
envelope’s request_outcomes.
Trait Implementations§
Source§impl Clone for HealthProgrammaticOutput
impl Clone for HealthProgrammaticOutput
Auto Trait Implementations§
impl Freeze for HealthProgrammaticOutput
impl RefUnwindSafe for HealthProgrammaticOutput
impl Send for HealthProgrammaticOutput
impl Sync for HealthProgrammaticOutput
impl Unpin for HealthProgrammaticOutput
impl UnsafeUnpin for HealthProgrammaticOutput
impl UnwindSafe for HealthProgrammaticOutput
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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