pub struct VersionStats {
pub total_documents: usize,
pub total_versions: u64,
pub avg_versions_per_document: f64,
pub total_conflicts: u64,
pub auto_resolved_conflicts: u64,
pub manually_resolved_conflicts: u64,
pub unresolved_conflicts: usize,
pub storage_usage_bytes: u64,
pub compression_ratio: f64,
pub last_updated: DateTime<Utc>,
}Expand description
Version management statistics
Fields§
§total_documents: usizeTotal documents with versions
total_versions: u64Total versions stored
avg_versions_per_document: f64Average versions per document
total_conflicts: u64Total conflicts detected
auto_resolved_conflicts: u64Auto-resolved conflicts
manually_resolved_conflicts: u64Manually resolved conflicts
unresolved_conflicts: usizeUnresolved conflicts
storage_usage_bytes: u64Storage usage in bytes
compression_ratio: f64Compression ratio (if enabled)
last_updated: DateTime<Utc>Last updated
Trait Implementations§
Source§impl Clone for VersionStats
impl Clone for VersionStats
Source§fn clone(&self) -> VersionStats
fn clone(&self) -> VersionStats
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 VersionStats
impl Debug for VersionStats
Source§impl<'de> Deserialize<'de> for VersionStats
impl<'de> Deserialize<'de> for VersionStats
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 VersionStats
impl RefUnwindSafe for VersionStats
impl Send for VersionStats
impl Sync for VersionStats
impl Unpin for VersionStats
impl UnwindSafe for VersionStats
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