pub struct FactSearchReport {
pub hits: Vec<SearchHit>,
pub related: Vec<SearchHit>,
pub considered: usize,
}Expand description
One explicit search: the ranked hits, related facts, and honest counts.
Fields§
§hits: Vec<SearchHit>At most limit.
At most related_max, none of them in hits.
considered: usizeSize of the candidate union.
Trait Implementations§
Source§impl Clone for FactSearchReport
impl Clone for FactSearchReport
Source§impl Debug for FactSearchReport
impl Debug for FactSearchReport
Auto Trait Implementations§
impl Forget for FactSearchReport
impl Freeze for FactSearchReport
impl Move for FactSearchReport
impl RefUnwindSafe for FactSearchReport
impl Send for FactSearchReport
impl Sync for FactSearchReport
impl Unpin for FactSearchReport
impl UnsafeUnpin for FactSearchReport
impl UnwindSafe for FactSearchReport
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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