pub struct ConversationsDbStatsResponse {
pub db_path: String,
pub db_size_bytes: u64,
pub db_size_human: String,
pub total_sessions: i64,
pub total_messages: i64,
pub total_kv_snapshots: i64,
pub total_embeddings: i64,
pub total_details: i64,
pub total_summaries: i64,
pub last_accessed: Option<String>,
}Expand description
DB-level statistics response for the Conversations (memory.db) Tier 4 view
Fields§
§db_path: StringAbsolute path to memory.db on disk
db_size_bytes: u64File size in bytes (0 if in-memory DB)
db_size_human: StringHuman-readable file size
total_sessions: i64Total number of chat sessions ever recorded
total_messages: i64Total messages stored across all sessions
total_kv_snapshots: i64Total KV snapshots persisted (Tier 2 of the KV cache hierarchy)
total_embeddings: i64Total embedding vectors stored for semantic search
total_details: i64Total detail records (structured facts extracted from conversations)
total_summaries: i64Total summary records
last_accessed: Option<String>Most recently accessed session timestamp (RFC-3339) or null
Trait Implementations§
Source§impl Debug for ConversationsDbStatsResponse
impl Debug for ConversationsDbStatsResponse
Auto Trait Implementations§
impl Freeze for ConversationsDbStatsResponse
impl RefUnwindSafe for ConversationsDbStatsResponse
impl Send for ConversationsDbStatsResponse
impl Sync for ConversationsDbStatsResponse
impl Unpin for ConversationsDbStatsResponse
impl UnsafeUnpin for ConversationsDbStatsResponse
impl UnwindSafe for ConversationsDbStatsResponse
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> 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more