pub struct StorageStats {
pub total_documents: usize,
pub total_chunks: usize,
pub index_size_bytes: u64,
pub last_updated: DateTime<Utc>,
pub backend_type: String,
pub available_space_bytes: u64,
pub used_space_bytes: u64,
}Expand description
Storage statistics
Fields§
§total_documents: usizeTotal number of documents
total_chunks: usizeTotal number of chunks
index_size_bytes: u64Index size in bytes
last_updated: DateTime<Utc>Last updated timestamp
backend_type: StringStorage backend type
available_space_bytes: u64Available disk space in bytes
used_space_bytes: u64Used space in bytes
Trait Implementations§
Source§impl Clone for StorageStats
impl Clone for StorageStats
Source§fn clone(&self) -> StorageStats
fn clone(&self) -> StorageStats
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 StorageStats
impl Debug for StorageStats
Source§impl<'de> Deserialize<'de> for StorageStats
impl<'de> Deserialize<'de> for StorageStats
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 StorageStats
impl RefUnwindSafe for StorageStats
impl Send for StorageStats
impl Sync for StorageStats
impl Unpin for StorageStats
impl UnwindSafe for StorageStats
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