pub struct QueryCacheInsights {
pub total_queries: usize,
pub expired_queries: usize,
pub avg_results_per_query: f32,
pub top_patterns: Vec<String>,
pub similarity_threshold: f32,
}Expand description
Query cache insights
Fields§
§total_queries: usizeTotal cached queries
expired_queries: usizeNumber of expired queries
avg_results_per_query: f32Average results per query
top_patterns: Vec<String>Top query patterns
similarity_threshold: f32Configured similarity threshold
Trait Implementations§
Source§impl Clone for QueryCacheInsights
impl Clone for QueryCacheInsights
Source§fn clone(&self) -> QueryCacheInsights
fn clone(&self) -> QueryCacheInsights
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 QueryCacheInsights
impl RefUnwindSafe for QueryCacheInsights
impl Send for QueryCacheInsights
impl Sync for QueryCacheInsights
impl Unpin for QueryCacheInsights
impl UnwindSafe for QueryCacheInsights
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