pub struct ContentIdStats {
pub total_registered: u64,
pub duplicates_found: u64,
pub storage_saved_bytes: u64,
}Expand description
Statistics tracked by ContentIdRegistry.
Fields§
§total_registered: u64Total number of unique items registered.
duplicates_found: u64Number of duplicates detected (not re-stored).
storage_saved_bytes: u64Estimated storage saved in bytes (placeholder).
Trait Implementations§
Source§impl Clone for ContentIdStats
impl Clone for ContentIdStats
Source§fn clone(&self) -> ContentIdStats
fn clone(&self) -> ContentIdStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentIdStats
impl Debug for ContentIdStats
Source§impl Default for ContentIdStats
impl Default for ContentIdStats
Source§fn default() -> ContentIdStats
fn default() -> ContentIdStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContentIdStats
impl RefUnwindSafe for ContentIdStats
impl Send for ContentIdStats
impl Sync for ContentIdStats
impl Unpin for ContentIdStats
impl UnsafeUnpin for ContentIdStats
impl UnwindSafe for ContentIdStats
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> 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