pub struct SystemStats {
pub total_documents: usize,
pub total_chunks: usize,
pub total_embeddings: usize,
pub index_counts: HashMap<String, usize>,
pub storage_distribution: HashMap<String, u64>,
pub uptime_seconds: u64,
pub last_maintenance_at: Option<DateTime<Utc>>,
}Expand description
System statistics
Fields§
§total_documents: usizeTotal documents indexed
total_chunks: usizeTotal chunks processed
total_embeddings: usizeTotal embeddings stored
index_counts: HashMap<String, usize>Index counts by type
storage_distribution: HashMap<String, u64>Storage distribution
uptime_seconds: u64System uptime in seconds
last_maintenance_at: Option<DateTime<Utc>>Last maintenance timestamp
Trait Implementations§
Source§impl Clone for SystemStats
impl Clone for SystemStats
Source§fn clone(&self) -> SystemStats
fn clone(&self) -> SystemStats
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 SystemStats
impl Debug for SystemStats
Source§impl<'de> Deserialize<'de> for SystemStats
impl<'de> Deserialize<'de> for SystemStats
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 SystemStats
impl RefUnwindSafe for SystemStats
impl Send for SystemStats
impl Sync for SystemStats
impl Unpin for SystemStats
impl UnwindSafe for SystemStats
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