pub struct EvictedItem {
pub id: String,
pub summary: String,
pub original_tokens: u32,
}Expand description
A summarized evicted item.
Fields§
§id: StringOriginal item id.
summary: StringOne-line summary of the evicted content.
original_tokens: u32Original token count.
Trait Implementations§
Source§impl Clone for EvictedItem
impl Clone for EvictedItem
Source§fn clone(&self) -> EvictedItem
fn clone(&self) -> EvictedItem
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 moreAuto Trait Implementations§
impl Freeze for EvictedItem
impl RefUnwindSafe for EvictedItem
impl Send for EvictedItem
impl Sync for EvictedItem
impl Unpin for EvictedItem
impl UnsafeUnpin for EvictedItem
impl UnwindSafe for EvictedItem
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