pub struct InvalidationStats {
pub total_cascades: u64,
pub total_invalidated: u64,
pub average_affected: f64,
pub max_affected: usize,
}Expand description
Statistics for cascade invalidation operations.
Fields§
§total_cascades: u64Total number of cascade invalidations performed.
total_invalidated: u64Total views invalidated across all cascades.
average_affected: f64Average views affected per cascade.
max_affected: usizeMaximum views affected in a single cascade.
Trait Implementations§
Source§impl Clone for InvalidationStats
impl Clone for InvalidationStats
Source§fn clone(&self) -> InvalidationStats
fn clone(&self) -> InvalidationStats
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 InvalidationStats
impl Debug for InvalidationStats
Source§impl Default for InvalidationStats
impl Default for InvalidationStats
Source§impl<'de> Deserialize<'de> for InvalidationStats
impl<'de> Deserialize<'de> for InvalidationStats
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 InvalidationStats
impl RefUnwindSafe for InvalidationStats
impl Send for InvalidationStats
impl Sync for InvalidationStats
impl Unpin for InvalidationStats
impl UnsafeUnpin for InvalidationStats
impl UnwindSafe for InvalidationStats
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