pub struct StringEntry {
pub value: String,
pub first_seen: DateTime<Utc>,
pub last_seen: DateTime<Utc>,
pub total_occurrences: usize,
pub unique_files: HashSet<String>,
pub occurrences: Vec<StringOccurrence>,
pub categories: HashSet<String>,
pub is_suspicious: bool,
pub entropy: f64,
}
Expand description
Complete information about a tracked string
Fields§
§value: String
The actual string value
first_seen: DateTime<Utc>
Timestamp when this string was first discovered
last_seen: DateTime<Utc>
Timestamp when this string was last seen
total_occurrences: usize
Total number of times this string has been found
unique_files: HashSet<String>
Set of unique file paths where this string was found
occurrences: Vec<StringOccurrence>
Detailed records of each occurrence
categories: HashSet<String>
Set of categories this string belongs to
is_suspicious: bool
Whether this string is flagged as suspicious
entropy: f64
Shannon entropy score of the string
Trait Implementations§
Source§impl Clone for StringEntry
impl Clone for StringEntry
Source§fn clone(&self) -> StringEntry
fn clone(&self) -> StringEntry
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 StringEntry
impl Debug for StringEntry
Source§impl<'de> Deserialize<'de> for StringEntry
impl<'de> Deserialize<'de> for StringEntry
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 StringEntry
impl RefUnwindSafe for StringEntry
impl Send for StringEntry
impl Sync for StringEntry
impl Unpin for StringEntry
impl UnwindSafe for StringEntry
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