pub struct SessionStats {Show 14 fields
pub session_id: Uuid,
pub hot_context_size: usize,
pub warm_context_size: usize,
pub cold_context_size: usize,
pub total_updates: usize,
pub entity_count: usize,
pub decision_count: usize,
pub open_question_count: usize,
pub concept_count: usize,
pub code_reference_count: usize,
pub created_at: DateTime<Utc>,
pub last_updated: DateTime<Utc>,
pub session_duration: SessionDuration,
pub activity_level: ActivityLevel,
}Expand description
Session statistics from ActiveSession data
Fields§
§session_id: UuidUnique session identifier
hot_context_size: usizeNumber of entries in the hot (recent) context tier
warm_context_size: usizeNumber of entries in the warm (compressed) context tier
cold_context_size: usizeNumber of entries in the cold (summary) context tier
total_updates: usizeTotal number of incremental updates recorded
entity_count: usizeNumber of distinct entities tracked
decision_count: usizeNumber of key decisions recorded
open_question_count: usizeNumber of currently open questions
concept_count: usizeNumber of concepts defined
code_reference_count: usizeNumber of code file references tracked
created_at: DateTime<Utc>When the session was created
last_updated: DateTime<Utc>When the session was last updated
session_duration: SessionDurationCategorized session duration
activity_level: ActivityLevelCategorized activity intensity
Trait 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 (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 SessionStats
impl Debug for SessionStats
Source§impl<'de> Deserialize<'de> for SessionStats
impl<'de> Deserialize<'de> for SessionStats
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request