pub struct SearchAnalytics {
pub timestamp: DateTime<Utc>,
pub query: String,
pub query_type: QueryType,
pub results_count: usize,
pub processing_time_ms: f64,
pub success: bool,
pub user_id: Option<String>,
pub session_id: Option<String>,
pub similarity_scores: Vec<f64>,
pub rerank_applied: bool,
pub cache_hit: bool,
}Expand description
Search analytics data
Fields§
§timestamp: DateTime<Utc>§query: String§query_type: QueryType§results_count: usize§processing_time_ms: f64§success: bool§user_id: Option<String>§session_id: Option<String>§similarity_scores: Vec<f64>§rerank_applied: bool§cache_hit: boolTrait Implementations§
Source§impl Clone for SearchAnalytics
impl Clone for SearchAnalytics
Source§fn clone(&self) -> SearchAnalytics
fn clone(&self) -> SearchAnalytics
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 SearchAnalytics
impl Debug for SearchAnalytics
Source§impl<'de> Deserialize<'de> for SearchAnalytics
impl<'de> Deserialize<'de> for SearchAnalytics
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 SearchAnalytics
impl RefUnwindSafe for SearchAnalytics
impl Send for SearchAnalytics
impl Sync for SearchAnalytics
impl Unpin for SearchAnalytics
impl UnwindSafe for SearchAnalytics
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