pub struct GraphStats {
pub files: usize,
pub symbols: usize,
pub edges: usize,
pub entry_point_count: Option<usize>,
pub avg_criticality: Option<f64>,
pub clone_clusters: Option<usize>,
pub duplication_pct: Option<f64>,
pub most_duplicated: Option<String>,
pub avg_risk: Option<f64>,
pub p90_risk: Option<f64>,
pub community_count: Option<usize>,
pub modularity: Option<f64>,
}Fields§
§files: usize§symbols: usize§edges: usize§entry_point_count: Option<usize>§avg_criticality: Option<f64>§clone_clusters: Option<usize>§duplication_pct: Option<f64>§most_duplicated: Option<String>§avg_risk: Option<f64>§p90_risk: Option<f64>§community_count: Option<usize>§modularity: Option<f64>Trait Implementations§
Source§impl Clone for GraphStats
impl Clone for GraphStats
Source§fn clone(&self) -> GraphStats
fn clone(&self) -> GraphStats
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 GraphStats
impl Debug for GraphStats
Source§impl<'de> Deserialize<'de> for GraphStats
impl<'de> Deserialize<'de> for GraphStats
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 GraphStats
impl RefUnwindSafe for GraphStats
impl Send for GraphStats
impl Sync for GraphStats
impl Unpin for GraphStats
impl UnsafeUnpin for GraphStats
impl UnwindSafe for GraphStats
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