pub struct DeduplicationMetrics {
pub total_operations: u64,
pub total_memories_processed: usize,
pub total_memories_merged: usize,
pub total_storage_saved: u64,
pub total_execution_time_ms: u64,
pub average_compression_ratio: f32,
pub errors_encountered: u64,
pub last_operation_timestamp: Option<DateTime<Utc>>,
}Expand description
Comprehensive metrics for deduplication operations
Fields§
§total_operations: u64§total_memories_processed: usize§total_memories_merged: usize§total_storage_saved: u64§total_execution_time_ms: u64§average_compression_ratio: f32§errors_encountered: u64§last_operation_timestamp: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for DeduplicationMetrics
impl Clone for DeduplicationMetrics
Source§fn clone(&self) -> DeduplicationMetrics
fn clone(&self) -> DeduplicationMetrics
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 DeduplicationMetrics
impl Debug for DeduplicationMetrics
Source§impl Default for DeduplicationMetrics
impl Default for DeduplicationMetrics
Source§fn default() -> DeduplicationMetrics
fn default() -> DeduplicationMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeduplicationMetrics
impl<'de> Deserialize<'de> for DeduplicationMetrics
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 DeduplicationMetrics
impl RefUnwindSafe for DeduplicationMetrics
impl Send for DeduplicationMetrics
impl Sync for DeduplicationMetrics
impl Unpin for DeduplicationMetrics
impl UnwindSafe for DeduplicationMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more