pub struct StringStatistics {
pub total_unique_strings: u64,
pub total_occurrences: u64,
pub total_files_analyzed: u64,
pub most_common: Vec<(String, u64)>,
pub total_suspicious_strings: u64,
pub suspicious_strings: Vec<String>,
pub total_high_entropy_strings: u64,
pub high_entropy_strings: Vec<(String, f64)>,
pub category_distribution: BTreeMap<String, u64>,
pub length_distribution: BTreeMap<String, u64>,
}Expand description
Statistics about a filtered tracker snapshot.
Fields§
§total_unique_strings: u64Number of distinct values matching the filter.
total_occurrences: u64Saturating total occurrences for matching values.
total_files_analyzed: u64Number of distinct (file_path, file_hash) identities represented.
most_common: Vec<(String, u64)>Up to 100 values ordered by occurrence count descending, then value ascending.
total_suspicious_strings: u64Total number of suspicious values before sampling.
suspicious_strings: Vec<String>Up to 50 suspicious values ordered by severity, count, then value.
total_high_entropy_strings: u64Total number of values meeting the tracker’s entropy threshold.
high_entropy_strings: Vec<(String, f64)>Up to 50 high-entropy values ordered by entropy descending, then value.
category_distribution: BTreeMap<String, u64>Count of matching values in each category.
length_distribution: BTreeMap<String, u64>Distribution by UTF-8 byte length.
Trait Implementations§
Source§impl Clone for StringStatistics
impl Clone for StringStatistics
Source§fn clone(&self) -> StringStatistics
fn clone(&self) -> StringStatistics
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 StringStatistics
impl Debug for StringStatistics
Source§impl<'de> Deserialize<'de> for StringStatistics
impl<'de> Deserialize<'de> for StringStatistics
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 StringStatistics
impl PartialEq for StringStatistics
Source§impl Serialize for StringStatistics
impl Serialize for StringStatistics
impl StructuralPartialEq for StringStatistics
Auto Trait Implementations§
impl Freeze for StringStatistics
impl RefUnwindSafe for StringStatistics
impl Send for StringStatistics
impl Sync for StringStatistics
impl Unpin for StringStatistics
impl UnsafeUnpin for StringStatistics
impl UnwindSafe for StringStatistics
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