pub struct QueryScores {
pub query: String,
pub precision_at_5: f64,
pub precision_at_10: f64,
pub recall_at_5: f64,
pub recall_at_10: f64,
pub mrr: f64,
pub ndcg_at_10: f64,
}Expand description
Scores for a single query.
Fields§
§query: String§precision_at_5: f64§precision_at_10: f64§recall_at_5: f64§recall_at_10: f64§mrr: f64§ndcg_at_10: f64Trait Implementations§
Source§impl Clone for QueryScores
impl Clone for QueryScores
Source§fn clone(&self) -> QueryScores
fn clone(&self) -> QueryScores
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 QueryScores
impl Debug for QueryScores
Auto Trait Implementations§
impl Freeze for QueryScores
impl RefUnwindSafe for QueryScores
impl Send for QueryScores
impl Sync for QueryScores
impl Unpin for QueryScores
impl UnwindSafe for QueryScores
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