#[non_exhaustive]pub struct OpenCodeSqliteStoreStats {
pub sessions: u64,
pub messages: u64,
pub parts: u64,
pub todos: u64,
}Expand description
Cheap store-level counts — COUNT(*) only, no row hydration — for
inspect’s “reports the audited real store’s sessions, messages, and
parts” summary (PARITY-3 AC01).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sessions: u64Row count of the session table.
messages: u64Row count of the message table.
parts: u64Row count of the part table.
todos: u64Row count of the todo table.
Trait Implementations§
Source§impl Clone for OpenCodeSqliteStoreStats
impl Clone for OpenCodeSqliteStoreStats
Source§fn clone(&self) -> OpenCodeSqliteStoreStats
fn clone(&self) -> OpenCodeSqliteStoreStats
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 moreimpl Copy for OpenCodeSqliteStoreStats
Source§impl Debug for OpenCodeSqliteStoreStats
impl Debug for OpenCodeSqliteStoreStats
Source§impl Default for OpenCodeSqliteStoreStats
impl Default for OpenCodeSqliteStoreStats
Source§fn default() -> OpenCodeSqliteStoreStats
fn default() -> OpenCodeSqliteStoreStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenCodeSqliteStoreStats
impl RefUnwindSafe for OpenCodeSqliteStoreStats
impl Send for OpenCodeSqliteStoreStats
impl Sync for OpenCodeSqliteStoreStats
impl Unpin for OpenCodeSqliteStoreStats
impl UnsafeUnpin for OpenCodeSqliteStoreStats
impl UnwindSafe for OpenCodeSqliteStoreStats
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