pub struct MemoryEvictEvent {
pub reason: EvictionReason,
pub messages_evicted: usize,
pub importance_scores: Vec<f64>,
}Fields§
§reason: EvictionReason§messages_evicted: usize§importance_scores: Vec<f64>Trait Implementations§
Source§impl Clone for MemoryEvictEvent
impl Clone for MemoryEvictEvent
Source§fn clone(&self) -> MemoryEvictEvent
fn clone(&self) -> MemoryEvictEvent
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 MemoryEvictEvent
impl Debug for MemoryEvictEvent
Source§impl<'de> Deserialize<'de> for MemoryEvictEvent
impl<'de> Deserialize<'de> for MemoryEvictEvent
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 MemoryEvictEvent
impl RefUnwindSafe for MemoryEvictEvent
impl Send for MemoryEvictEvent
impl Sync for MemoryEvictEvent
impl Unpin for MemoryEvictEvent
impl UnsafeUnpin for MemoryEvictEvent
impl UnwindSafe for MemoryEvictEvent
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