pub struct ClassUsageStats {
pub usage_count: u32,
pub used_in_files: HashSet<String>,
pub is_critical: bool,
pub dependencies: HashSet<String>,
}Expand description
Class usage statistics
Fields§
§usage_count: u32Number of times the class is used
used_in_files: HashSet<String>Files where the class is used
is_critical: boolWhether the class is critical
dependencies: HashSet<String>Dependencies of this class
Trait Implementations§
Source§impl Clone for ClassUsageStats
impl Clone for ClassUsageStats
Source§fn clone(&self) -> ClassUsageStats
fn clone(&self) -> ClassUsageStats
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 ClassUsageStats
impl Debug for ClassUsageStats
Source§impl<'de> Deserialize<'de> for ClassUsageStats
impl<'de> Deserialize<'de> for ClassUsageStats
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
Source§impl PartialEq for ClassUsageStats
impl PartialEq for ClassUsageStats
Source§impl Serialize for ClassUsageStats
impl Serialize for ClassUsageStats
impl StructuralPartialEq for ClassUsageStats
Auto Trait Implementations§
impl Freeze for ClassUsageStats
impl RefUnwindSafe for ClassUsageStats
impl Send for ClassUsageStats
impl Sync for ClassUsageStats
impl Unpin for ClassUsageStats
impl UnwindSafe for ClassUsageStats
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