pub struct RankingSummary {
pub count: usize,
pub stable_count: usize,
pub tie_group_count: usize,
pub median_gap: f64,
}Expand description
Summary statistics for a ranked result set.
Fields§
§count: usizeNumber of items in the ranking.
stable_count: usizeNumber of items with stable rank positions.
tie_group_count: usizeNumber of tie groups (sets of items with indistinguishable scores).
median_gap: f64Median score gap between adjacent ranked items.
Trait Implementations§
Source§impl Clone for RankingSummary
impl Clone for RankingSummary
Source§fn clone(&self) -> RankingSummary
fn clone(&self) -> RankingSummary
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 RankingSummary
impl Debug for RankingSummary
Auto Trait Implementations§
impl Freeze for RankingSummary
impl RefUnwindSafe for RankingSummary
impl Send for RankingSummary
impl Sync for RankingSummary
impl Unpin for RankingSummary
impl UnsafeUnpin for RankingSummary
impl UnwindSafe for RankingSummary
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