pub struct StringEntry {
pub value: String,
pub first_seen: DateTime<Utc>,
pub last_seen: DateTime<Utc>,
pub total_occurrences: u64,
pub unique_file_identities: BTreeSet<FileIdentity>,
pub occurrences: VecDeque<StringOccurrence>,
pub categories: BTreeSet<String>,
pub is_suspicious: bool,
pub entropy: f64,
pub suspicious_indicators: Vec<SuspiciousIndicator>,
pub indicators_truncated: bool,
}Expand description
Aggregate information retained for one distinct string value.
Fields§
§value: StringActual string value.
first_seen: DateTime<Utc>Earliest caller-supplied event timestamp.
last_seen: DateTime<Utc>Latest caller-supplied event timestamp.
total_occurrences: u64Saturating total observation count, including evicted occurrence details.
unique_file_identities: BTreeSet<FileIdentity>Bounded, ordered set of distinct source identities.
occurrences: VecDeque<StringOccurrence>Bounded occurrence details in ingestion order, oldest retained first.
categories: BTreeSet<String>Bounded, deterministically ordered aggregate category names.
is_suspicious: boolWhether the analyzer reported a suspicious signal.
entropy: f64Shannon entropy calculated over UTF-8 bytes.
suspicious_indicators: Vec<SuspiciousIndicator>Bounded explainable evidence retained from initial analysis.
indicators_truncated: boolWhether analyzer evidence was omitted or unavailable as retained detail.
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 (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 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
Source§impl PartialEq for StringEntry
impl PartialEq for StringEntry
Source§impl Serialize for StringEntry
impl Serialize for StringEntry
impl StructuralPartialEq for StringEntry
Auto Trait Implementations§
impl Freeze for StringEntry
impl RefUnwindSafe for StringEntry
impl Send for StringEntry
impl Sync for StringEntry
impl Unpin for StringEntry
impl UnsafeUnpin 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