pub struct DependencyAnalysis {
pub direct_dependencies: Vec<String>,
pub transitive_dependencies: Vec<String>,
pub dependency_depth: usize,
pub circular_dependencies: Vec<Vec<String>>,
pub dependency_graph: DependencyGraph,
pub impact_analysis: ImpactAnalysis,
pub risk_assessment: RiskAssessment,
pub performance_analysis: PerformanceAnalysis,
pub optimization_suggestions: Vec<OptimizationSuggestion>,
}Expand description
Comprehensive analysis of trait dependencies
This structure contains the complete results of dependency analysis, including transitive dependencies, circular dependencies, and risk assessments.
Fields§
§direct_dependencies: Vec<String>Direct dependencies (supertraits, bounds)
transitive_dependencies: Vec<String>All transitive dependencies
dependency_depth: usizeMaximum depth of dependency chain
circular_dependencies: Vec<Vec<String>>Circular dependency cycles detected
dependency_graph: DependencyGraphDependency graph representation
impact_analysis: ImpactAnalysisImpact analysis results
risk_assessment: RiskAssessmentRisk assessment results
performance_analysis: PerformanceAnalysisPerformance implications
optimization_suggestions: Vec<OptimizationSuggestion>Optimization suggestions
Trait Implementations§
Source§impl Clone for DependencyAnalysis
impl Clone for DependencyAnalysis
Source§fn clone(&self) -> DependencyAnalysis
fn clone(&self) -> DependencyAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DependencyAnalysis
impl Debug for DependencyAnalysis
Source§impl Default for DependencyAnalysis
impl Default for DependencyAnalysis
Source§fn default() -> DependencyAnalysis
fn default() -> DependencyAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependencyAnalysis
impl<'de> Deserialize<'de> for DependencyAnalysis
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 DependencyAnalysis
impl RefUnwindSafe for DependencyAnalysis
impl Send for DependencyAnalysis
impl Sync for DependencyAnalysis
impl Unpin for DependencyAnalysis
impl UnwindSafe for DependencyAnalysis
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> 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