pub struct ScanOutcome {
pub candidates: Vec<ScanCandidate>,
pub stats: ScanStats,
pub worst_score: Option<f32>,
}Expand description
Ranked candidates and deterministic counters from an extended exact scan.
Fields§
§candidates: Vec<ScanCandidate>Candidates in descending-score, ascending-row-id parity order.
stats: ScanStatsDeterministic work counters.
worst_score: Option<f32>Worst score over every scored row, before the top-k cut. Present only where the scan visited every allowed row and scored it exactly, which is what makes it usable as a normalization anchor.
Trait Implementations§
Source§impl Clone for ScanOutcome
impl Clone for ScanOutcome
Source§impl Debug for ScanOutcome
impl Debug for ScanOutcome
Source§impl PartialEq for ScanOutcome
impl PartialEq for ScanOutcome
impl StructuralPartialEq for ScanOutcome
Auto Trait Implementations§
impl Freeze for ScanOutcome
impl RefUnwindSafe for ScanOutcome
impl Send for ScanOutcome
impl Sync for ScanOutcome
impl Unpin for ScanOutcome
impl UnsafeUnpin for ScanOutcome
impl UnwindSafe for ScanOutcome
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