pub struct SemanticCacheInsights {
pub total_queries: usize,
pub total_clusters: usize,
pub avg_cluster_size: f32,
pub avg_cohesion: f32,
pub similarity_threshold: f32,
pub clustering_enabled: bool,
}Expand description
Semantic cache insights
Fields§
§total_queries: usizeTotal cached queries
total_clusters: usizeTotal clusters
avg_cluster_size: f32Average cluster size
avg_cohesion: f32Average cluster cohesion
similarity_threshold: f32Configured similarity threshold
clustering_enabled: boolWhether clustering is enabled
Trait Implementations§
Source§impl Clone for SemanticCacheInsights
impl Clone for SemanticCacheInsights
Source§fn clone(&self) -> SemanticCacheInsights
fn clone(&self) -> SemanticCacheInsights
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 moreSource§impl Debug for SemanticCacheInsights
impl Debug for SemanticCacheInsights
Source§impl<'de> Deserialize<'de> for SemanticCacheInsights
impl<'de> Deserialize<'de> for SemanticCacheInsights
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SemanticCacheInsights
impl RefUnwindSafe for SemanticCacheInsights
impl Send for SemanticCacheInsights
impl Sync for SemanticCacheInsights
impl Unpin for SemanticCacheInsights
impl UnwindSafe for SemanticCacheInsights
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