pub struct DependentsReport {
pub target: String,
pub graph_target: GraphTarget,
pub direct: Vec<DependentEntry>,
pub transitive: Vec<DependentEntry>,
pub blast_radius: Option<BlastRadius>,
pub untested_paths: Vec<String>,
pub dependents: Vec<String>,
}Expand description
Report for reverse dependency queries: what depends on a given file/symbol.
For --on modules (default): structured output with depth, test coverage,
fan-in, and blast radius statistics.
For --on symbols / --on types: flat alphabetical list of dependents.
Fields§
§target: StringThe file or symbol being queried.
graph_target: GraphTargetGraph node kind used for the query.
direct: Vec<DependentEntry>Direct dependents (depth = 1) — populated for modules graph.
transitive: Vec<DependentEntry>Transitive dependents (depth > 1) — populated for modules graph.
blast_radius: Option<BlastRadius>Blast radius summary — populated for modules graph.
untested_paths: Vec<String>Untested impact paths — populated for modules graph.
dependents: Vec<String>Flat dependent list — populated for symbols/types graph.
Trait Implementations§
Source§impl Debug for DependentsReport
impl Debug for DependentsReport
Source§impl JsonSchema for DependentsReport
impl JsonSchema for DependentsReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl OutputFormatter for DependentsReport
impl OutputFormatter for DependentsReport
Source§fn format_text(&self) -> String
fn format_text(&self) -> String
Format as minimal text (LLM-optimized, default).
Source§fn format_pretty(&self) -> String
fn format_pretty(&self) -> String
Format as pretty text (human-friendly with colors).
Default implementation falls back to format_text().
Auto Trait Implementations§
impl Freeze for DependentsReport
impl RefUnwindSafe for DependentsReport
impl Send for DependentsReport
impl Sync for DependentsReport
impl Unpin for DependentsReport
impl UnsafeUnpin for DependentsReport
impl UnwindSafe for DependentsReport
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.