pub struct CheckJsonOutputInput<'a> {
pub results: &'a AnalysisResults,
pub root: &'a Path,
pub elapsed: Duration,
pub config_fixable: bool,
pub meta: Option<Meta>,
pub extras: CheckJsonExtraOutputs,
pub workspace_diagnostics: Vec<WorkspaceDiagnostic>,
pub next_steps: Vec<NextStep>,
pub telemetry_analysis_run_id: Option<&'a str>,
}Expand description
Inputs for fallow dead-code --format json output assembly.
Fields§
§results: &'a AnalysisResultsTyped dead-code results to serialize.
root: &'a PathProject root; its prefix is stripped from every path in the output.
elapsed: DurationAnalysis wall time, emitted as elapsed_ms.
config_fixable: boolWhether duplicate-export findings can be auto-fixed through config; propagated onto their fix actions.
meta: Option<Meta>Optional explain metadata block for the envelope.
extras: CheckJsonExtraOutputsCaller-computed baseline and regression sections.
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<&'a str>Analysis run id stamped into telemetry metadata when present.
Auto Trait Implementations§
impl<'a> Freeze for CheckJsonOutputInput<'a>
impl<'a> RefUnwindSafe for CheckJsonOutputInput<'a>
impl<'a> Send for CheckJsonOutputInput<'a>
impl<'a> Sync for CheckJsonOutputInput<'a>
impl<'a> Unpin for CheckJsonOutputInput<'a>
impl<'a> UnsafeUnpin for CheckJsonOutputInput<'a>
impl<'a> UnwindSafe for CheckJsonOutputInput<'a>
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> 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