pub struct PurgeReport {
pub chunks_deleted: usize,
pub sessions_deleted: usize,
pub access_log_deleted: usize,
pub eviction_log_deleted: usize,
}Expand description
Report returned by crate::MemoryProvider::purge_all.
Fields§
§chunks_deleted: usizeNumber of chunks deleted.
sessions_deleted: usizeNumber of sessions deleted.
access_log_deleted: usizeNumber of access-log entries deleted.
eviction_log_deleted: usizeNumber of eviction-log entries deleted.
Trait Implementations§
Source§impl Clone for PurgeReport
impl Clone for PurgeReport
Source§fn clone(&self) -> PurgeReport
fn clone(&self) -> PurgeReport
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 PurgeReport
impl Debug for PurgeReport
Source§impl Default for PurgeReport
impl Default for PurgeReport
Source§fn default() -> PurgeReport
fn default() -> PurgeReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PurgeReport
impl<'de> Deserialize<'de> for PurgeReport
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
Source§impl PartialEq for PurgeReport
impl PartialEq for PurgeReport
Source§fn eq(&self, other: &PurgeReport) -> bool
fn eq(&self, other: &PurgeReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PurgeReport
impl Serialize for PurgeReport
impl StructuralPartialEq for PurgeReport
Auto Trait Implementations§
impl Freeze for PurgeReport
impl RefUnwindSafe for PurgeReport
impl Send for PurgeReport
impl Sync for PurgeReport
impl Unpin for PurgeReport
impl UnsafeUnpin for PurgeReport
impl UnwindSafe for PurgeReport
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