Struct rive_models::stats::StorageStats
source · pub struct StorageStats {
pub size: i64,
pub storage_size: i64,
pub total_index_size: i64,
pub total_size: i64,
pub index_sizes: HashMap<String, i64>,
pub count: i64,
pub avg_obj_size: i64,
}Expand description
Collection storage stats
Fields§
§size: i64Uncompressed data size
storage_size: i64Data size on disk
total_index_size: i64Total size of all indexes
total_size: i64Sum of storage size and total index size
index_sizes: HashMap<String, i64>Individual index sizes
count: i64Number of documents in collection
avg_obj_size: i64Average size of each document
Trait Implementations§
source§impl Clone for StorageStats
impl Clone for StorageStats
source§fn clone(&self) -> StorageStats
fn clone(&self) -> StorageStats
Returns a copy 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 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