pub struct RetrievalStats {
pub served: u64,
pub with_hit: u64,
pub hit_rate: Option<f64>,
pub avg_top_score: Option<f64>,
}Expand description
C1 — retrieval hit-rate. Populated once C7 lands context.served events;
all fields are stub values / None for now.
Fields§
§served: u64Total context.served events in the window (C7).
with_hit: u64Served events whose bundle contained ≥1 capsule (C7).
hit_rate: Option<f64>with_hit / served; None until C7 populates served.
avg_top_score: Option<f64>Average top_score across served events (C7).
Trait Implementations§
Source§impl Clone for RetrievalStats
impl Clone for RetrievalStats
Source§fn clone(&self) -> RetrievalStats
fn clone(&self) -> RetrievalStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetrievalStats
impl Debug for RetrievalStats
Auto Trait Implementations§
impl Freeze for RetrievalStats
impl RefUnwindSafe for RetrievalStats
impl Send for RetrievalStats
impl Sync for RetrievalStats
impl Unpin for RetrievalStats
impl UnsafeUnpin for RetrievalStats
impl UnwindSafe for RetrievalStats
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