pub struct TrecRun {
pub query_id: String,
pub doc_id: String,
pub rank: usize,
pub score: f32,
pub run_tag: String,
}Expand description
A TREC run file entry.
Fields§
§query_id: StringQuery identifier.
doc_id: StringDocument identifier.
rank: usizeRank (1 = best).
score: f32Retrieval score (higher is better; must be finite).
run_tag: StringRun tag (system name).
Trait Implementations§
impl StructuralPartialEq for TrecRun
Auto Trait Implementations§
impl Freeze for TrecRun
impl RefUnwindSafe for TrecRun
impl Send for TrecRun
impl Sync for TrecRun
impl Unpin for TrecRun
impl UnsafeUnpin for TrecRun
impl UnwindSafe for TrecRun
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more