pub struct SessionStats {
pub session_id: String,
pub message_count: u32,
pub entity_count: usize,
pub coreference_count: usize,
pub sensitivity: SensitivityLevel,
pub escalation_keywords: Vec<String>,
pub categories: HashMap<String, u32>,
pub created_at: String,
pub last_activity: String,
}Expand description
Safe session statistics (no PII).
Fields§
§session_id: String§message_count: u32§entity_count: usize§coreference_count: usize§sensitivity: SensitivityLevel§escalation_keywords: Vec<String>§categories: HashMap<String, u32>§created_at: String§last_activity: StringTrait Implementations§
Source§impl Clone for SessionStats
impl Clone for SessionStats
Source§fn clone(&self) -> SessionStats
fn clone(&self) -> SessionStats
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 SessionStats
impl Debug for SessionStats
Auto Trait Implementations§
impl Freeze for SessionStats
impl RefUnwindSafe for SessionStats
impl Send for SessionStats
impl Sync for SessionStats
impl Unpin for SessionStats
impl UnsafeUnpin for SessionStats
impl UnwindSafe for SessionStats
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