pub struct SessionEntity {
pub token: PseudoToken,
pub category: EntityCategory,
pub original: String,
pub first_seen: u32,
pub last_seen: u32,
pub related_to: Vec<String>,
}Expand description
An entity observed within a session, tracked across messages.
Fields§
§token: PseudoTokenThe pseudonymized token.
category: EntityCategoryCategory of the entity.
original: StringOriginal text (for internal matching only — never exposed in APIs).
first_seen: u32Message index where first seen.
last_seen: u32Message index where last seen.
Related entity tokens (co-occurred in same message).
Trait Implementations§
Source§impl Clone for SessionEntity
impl Clone for SessionEntity
Source§fn clone(&self) -> SessionEntity
fn clone(&self) -> SessionEntity
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 SessionEntity
impl Debug for SessionEntity
Auto Trait Implementations§
impl Freeze for SessionEntity
impl RefUnwindSafe for SessionEntity
impl Send for SessionEntity
impl Sync for SessionEntity
impl Unpin for SessionEntity
impl UnsafeUnpin for SessionEntity
impl UnwindSafe for SessionEntity
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