pub struct DeadCodeProgrammaticOutput {
pub output: DeadCodeOutput,
pub root: PathBuf,
pub config_fixable: bool,
pub telemetry_analysis_run_id: Option<String>,
}Expand description
Typed programmatic dead-code output before JSON serialization.
This is the API boundary embedders should use when they need access to the typed engine/output result. Protocol surfaces serialize it explicitly at their JSON boundary.
Fields§
§output: DeadCodeOutputTyped dead-code envelope produced by the run.
root: PathBufProject root used when serializing stable JSON paths.
config_fixable: boolWhether duplicate-export findings can be auto-fixed through config; propagated onto their fix actions when serialized.
telemetry_analysis_run_id: Option<String>Analysis run id stamped into telemetry metadata when present.
Implementations§
Trait Implementations§
Source§impl Clone for DeadCodeProgrammaticOutput
impl Clone for DeadCodeProgrammaticOutput
Source§impl Debug for DeadCodeProgrammaticOutput
impl Debug for DeadCodeProgrammaticOutput
Source§impl From<DeadCodeProgrammaticOutput> for CircularDependenciesProgrammaticOutput
impl From<DeadCodeProgrammaticOutput> for CircularDependenciesProgrammaticOutput
Source§fn from(value: DeadCodeProgrammaticOutput) -> Self
fn from(value: DeadCodeProgrammaticOutput) -> Self
Converts to this type from the input type.
Source§impl From<DeadCodeProgrammaticOutput> for BoundaryViolationsProgrammaticOutput
impl From<DeadCodeProgrammaticOutput> for BoundaryViolationsProgrammaticOutput
Source§fn from(value: DeadCodeProgrammaticOutput) -> Self
fn from(value: DeadCodeProgrammaticOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeadCodeProgrammaticOutput
impl RefUnwindSafe for DeadCodeProgrammaticOutput
impl Send for DeadCodeProgrammaticOutput
impl Sync for DeadCodeProgrammaticOutput
impl Unpin for DeadCodeProgrammaticOutput
impl UnsafeUnpin for DeadCodeProgrammaticOutput
impl UnwindSafe for DeadCodeProgrammaticOutput
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