pub struct ExternalDependencyUsage {
pub crate_name: String,
pub versions: Vec<String>,
pub breadth: usize,
pub total_references: usize,
pub dominant_strength: String,
pub source_modules: Vec<String>,
}Expand description
Aggregated usage of one external crate.
Fields§
§crate_name: StringCrate name.
versions: Vec<String>Resolved versions from Cargo.lock, when available.
breadth: usizeNumber of distinct internal modules with direct coupling to this crate.
total_references: usizeTotal direct references observed in coupling metrics.
dominant_strength: StringMost common integration strength, breaking ties toward stronger coupling.
source_modules: Vec<String>Internal modules with direct coupling to this crate.
Trait Implementations§
Source§impl Clone for ExternalDependencyUsage
impl Clone for ExternalDependencyUsage
Source§fn clone(&self) -> ExternalDependencyUsage
fn clone(&self) -> ExternalDependencyUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExternalDependencyUsage
impl Debug for ExternalDependencyUsage
impl Eq for ExternalDependencyUsage
Source§impl PartialEq for ExternalDependencyUsage
impl PartialEq for ExternalDependencyUsage
Source§fn eq(&self, other: &ExternalDependencyUsage) -> bool
fn eq(&self, other: &ExternalDependencyUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExternalDependencyUsage
impl Serialize for ExternalDependencyUsage
impl StructuralPartialEq for ExternalDependencyUsage
Auto Trait Implementations§
impl Freeze for ExternalDependencyUsage
impl RefUnwindSafe for ExternalDependencyUsage
impl Send for ExternalDependencyUsage
impl Sync for ExternalDependencyUsage
impl Unpin for ExternalDependencyUsage
impl UnsafeUnpin for ExternalDependencyUsage
impl UnwindSafe for ExternalDependencyUsage
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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