pub struct CheckJsonPayloadInput<'a> {
pub results: &'a AnalysisResults,
pub root: &'a Path,
pub elapsed: Duration,
pub config_fixable: bool,
pub extras: CheckJsonExtraOutputs,
pub workspace_diagnostics: Vec<WorkspaceDiagnostic>,
}Expand description
Inputs for the dead-code JSON payload without a root envelope.
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.
extras: CheckJsonExtraOutputsCaller-computed baseline and regression sections.
workspace_diagnostics: Vec<WorkspaceDiagnostic>Non-fatal per-file diagnostics collected during the workspace walk.
Auto Trait Implementations§
impl<'a> Freeze for CheckJsonPayloadInput<'a>
impl<'a> RefUnwindSafe for CheckJsonPayloadInput<'a>
impl<'a> Send for CheckJsonPayloadInput<'a>
impl<'a> Sync for CheckJsonPayloadInput<'a>
impl<'a> Unpin for CheckJsonPayloadInput<'a>
impl<'a> UnsafeUnpin for CheckJsonPayloadInput<'a>
impl<'a> UnwindSafe for CheckJsonPayloadInput<'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