pub struct BindingScoreFeatures<'a> { /* private fields */ }Expand description
Reads scoring features from one row.
The legacy source reads the declared score column and returned value aliases. The opt-in retriever source reads engine-owned original score/observed hop annotations and properties of its canonical pinned candidate node. Graph-seed relevance is supplied only by the declared canonical graph-seed producer.
Implementations§
Trait Implementations§
Source§impl ScoringFeatureSource for BindingScoreFeatures<'_>
impl ScoringFeatureSource for BindingScoreFeatures<'_>
Source§fn returned_value(&self, column: &str) -> Option<&Value>
fn returned_value(&self, column: &str) -> Option<&Value>
Borrowed, explicitly returned metadata for a host’s cohort policy, such
as an exact reason/tie key. It does not establish retrieval provenance.
fn search_score(&self) -> Option<f64>
fn graph_seed_score(&self) -> Option<f64>
fn hop_distance(&self) -> Option<usize>
fn numeric_property(&self, property: &str) -> Option<f64>
fn timestamp_millis(&self, property: &str) -> Option<u64>
Auto Trait Implementations§
impl<'a> Freeze for BindingScoreFeatures<'a>
impl<'a> RefUnwindSafe for BindingScoreFeatures<'a>
impl<'a> Send for BindingScoreFeatures<'a>
impl<'a> Sync for BindingScoreFeatures<'a>
impl<'a> Unpin for BindingScoreFeatures<'a>
impl<'a> UnsafeUnpin for BindingScoreFeatures<'a>
impl<'a> UnwindSafe for BindingScoreFeatures<'a>
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> 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