pub struct QueryAccessStats {
pub access_count: u64,
pub last_access: SystemTime,
pub avg_response_time_ms: f32,
pub similarity_hit_rate: f32,
pub variations: Vec<String>,
}Expand description
Query access statistics
Fields§
§access_count: u64Total accesses
last_access: SystemTimeLast access time
avg_response_time_ms: f32Average response time
similarity_hit_rate: f32Cache hit rate for similar queries
variations: Vec<String>Query variations seen
Trait Implementations§
Source§impl Clone for QueryAccessStats
impl Clone for QueryAccessStats
Source§fn clone(&self) -> QueryAccessStats
fn clone(&self) -> QueryAccessStats
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 QueryAccessStats
impl RefUnwindSafe for QueryAccessStats
impl Send for QueryAccessStats
impl Sync for QueryAccessStats
impl Unpin for QueryAccessStats
impl UnwindSafe for QueryAccessStats
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