pub struct EvictionEntry {
pub ts: DateTime<Utc>,
pub chunk_id: String,
pub reason: EvictionReason,
pub metadata: Value,
}Expand description
One entry in the eviction audit log.
Fields§
§ts: DateTime<Utc>When the eviction happened.
chunk_id: StringID of the evicted chunk.
reason: EvictionReasonWhy it was evicted.
metadata: ValueOptional structured context.
Trait Implementations§
Source§impl Clone for EvictionEntry
impl Clone for EvictionEntry
Source§fn clone(&self) -> EvictionEntry
fn clone(&self) -> EvictionEntry
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 EvictionEntry
impl Debug for EvictionEntry
Source§impl<'de> Deserialize<'de> for EvictionEntry
impl<'de> Deserialize<'de> for EvictionEntry
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 EvictionEntry
impl PartialEq for EvictionEntry
Source§fn eq(&self, other: &EvictionEntry) -> bool
fn eq(&self, other: &EvictionEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EvictionEntry
impl Serialize for EvictionEntry
impl StructuralPartialEq for EvictionEntry
Auto Trait Implementations§
impl Freeze for EvictionEntry
impl RefUnwindSafe for EvictionEntry
impl Send for EvictionEntry
impl Sync for EvictionEntry
impl Unpin for EvictionEntry
impl UnsafeUnpin for EvictionEntry
impl UnwindSafe for EvictionEntry
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