pub struct CircularDependenciesProgrammaticOutput {
pub output: CircularDependenciesOutput,
pub root: PathBuf,
pub telemetry_analysis_run_id: Option<String>,
}Expand description
Typed programmatic circular-dependency output before JSON serialization.
The wire envelope stays the dead-code/check contract, but the Rust API surface is family-specific so embedders do not have to treat this as a generic dead-code run.
Fields§
§output: CircularDependenciesOutputTyped check envelope scoped to circular-dependency findings.
root: PathBufProject root used when serializing stable JSON paths.
telemetry_analysis_run_id: Option<String>Analysis run id stamped into telemetry metadata when present.
Implementations§
Source§impl CircularDependenciesProgrammaticOutput
impl CircularDependenciesProgrammaticOutput
Sourcepub fn results(&self) -> &AnalysisResults
pub fn results(&self) -> &AnalysisResults
Full typed issue arrays retained by this family run.
Sourcepub fn circular_dependencies(&self) -> &[CircularDependencyFinding]
pub fn circular_dependencies(&self) -> &[CircularDependencyFinding]
The circular dependency findings retained by this family run.
Trait Implementations§
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.
Auto Trait Implementations§
impl Freeze for CircularDependenciesProgrammaticOutput
impl RefUnwindSafe for CircularDependenciesProgrammaticOutput
impl Send for CircularDependenciesProgrammaticOutput
impl Sync for CircularDependenciesProgrammaticOutput
impl Unpin for CircularDependenciesProgrammaticOutput
impl UnsafeUnpin for CircularDependenciesProgrammaticOutput
impl UnwindSafe for CircularDependenciesProgrammaticOutput
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