pub struct ReinstatementScore {
pub score: f32,
pub matched_episode: bool,
pub matched_entity: bool,
pub matched_namespace: bool,
}Expand description
Per-candidate reinstatement score with per-dimension match flags.
Fields§
§score: f32Aggregate score in [0, 1].
matched_episode: boolTrue when at least one episode in the context matched the candidate.
matched_entity: boolTrue when at least one entity in the context matched the candidate.
matched_namespace: boolTrue when the namespace matched.
Trait Implementations§
Source§impl Clone for ReinstatementScore
impl Clone for ReinstatementScore
Source§fn clone(&self) -> ReinstatementScore
fn clone(&self) -> ReinstatementScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReinstatementScore
impl Debug for ReinstatementScore
Source§impl PartialEq for ReinstatementScore
impl PartialEq for ReinstatementScore
impl StructuralPartialEq for ReinstatementScore
Auto Trait Implementations§
impl Freeze for ReinstatementScore
impl RefUnwindSafe for ReinstatementScore
impl Send for ReinstatementScore
impl Sync for ReinstatementScore
impl Unpin for ReinstatementScore
impl UnsafeUnpin for ReinstatementScore
impl UnwindSafe for ReinstatementScore
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