pub struct ResultCacheInsights {
pub total_entries: usize,
pub compressed_entries: usize,
pub avg_results_per_entry: f32,
pub compression_ratio: f32,
pub memory_usage: usize,
}Expand description
Result cache insights
Fields§
§total_entries: usizeTotal cache entries
compressed_entries: usizeNumber of compressed entries
avg_results_per_entry: f32Average results per entry
compression_ratio: f32Compression ratio achieved
memory_usage: usizeEstimated memory usage in bytes
Trait Implementations§
Source§impl Clone for ResultCacheInsights
impl Clone for ResultCacheInsights
Source§fn clone(&self) -> ResultCacheInsights
fn clone(&self) -> ResultCacheInsights
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 ResultCacheInsights
impl RefUnwindSafe for ResultCacheInsights
impl Send for ResultCacheInsights
impl Sync for ResultCacheInsights
impl Unpin for ResultCacheInsights
impl UnwindSafe for ResultCacheInsights
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