pub struct ExportedCacheEntry {
pub content: String,
pub model: String,
pub tokens_saved: u32,
pub hits: u32,
pub involved_tools: bool,
pub embedding: Option<Vec<f32>>,
pub ttl_remaining_secs: u64,
}Fields§
§content: String§model: String§tokens_saved: u32§hits: u32§involved_tools: bool§embedding: Option<Vec<f32>>§ttl_remaining_secs: u64Trait Implementations§
Source§impl Clone for ExportedCacheEntry
impl Clone for ExportedCacheEntry
Source§fn clone(&self) -> ExportedCacheEntry
fn clone(&self) -> ExportedCacheEntry
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 moreAuto Trait Implementations§
impl Freeze for ExportedCacheEntry
impl RefUnwindSafe for ExportedCacheEntry
impl Send for ExportedCacheEntry
impl Sync for ExportedCacheEntry
impl Unpin for ExportedCacheEntry
impl UnsafeUnpin for ExportedCacheEntry
impl UnwindSafe for ExportedCacheEntry
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