pub struct TargetEvidence {
pub unused_exports: Vec<String>,
pub complex_functions: Vec<EvidenceFunction>,
pub cycle_path: Vec<String>,
pub direct_callers: Vec<DirectCallerEvidence>,
pub clone_siblings: Vec<CloneSiblingEvidence>,
}Expand description
Evidence linking a target back to specific analysis data.
Provides enough detail for an AI agent to act on a recommendation without a second tool call.
Fields§
§unused_exports: Vec<String>Names of unused exports (populated for RemoveDeadCode targets).
complex_functions: Vec<EvidenceFunction>Complex functions with line numbers and cognitive scores (populated for ExtractComplexFunctions).
cycle_path: Vec<String>Files forming the import cycle (populated for BreakCircularDependency targets).
direct_callers: Vec<DirectCallerEvidence>Files that directly import this target, with imported and local symbols.
clone_siblings: Vec<CloneSiblingEvidence>Other duplicate-code instances that share a clone group with this target.
Trait Implementations§
Source§impl Clone for TargetEvidence
impl Clone for TargetEvidence
Source§impl Debug for TargetEvidence
impl Debug for TargetEvidence
Source§impl Default for TargetEvidence
impl Default for TargetEvidence
Source§impl<'de> Deserialize<'de> for TargetEvidence
impl<'de> Deserialize<'de> for TargetEvidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TargetEvidence
impl RefUnwindSafe for TargetEvidence
impl Send for TargetEvidence
impl Sync for TargetEvidence
impl Unpin for TargetEvidence
impl UnsafeUnpin for TargetEvidence
impl UnwindSafe for TargetEvidence
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