pub struct RecallTraceCandidate {
pub record_id: String,
pub kind: MemoryRecordKind,
pub selected: bool,
pub planner_stage: RecallPlannerStage,
pub candidate_sources: Vec<RecallCandidateSource>,
pub selection_rank: Option<u32>,
pub matched_terms: Vec<String>,
pub selected_channels: Vec<String>,
pub filter_reasons: Vec<String>,
pub decision_reason: String,
pub breakdown: RecallScoreBreakdown,
}Fields§
§record_id: String§kind: MemoryRecordKind§selected: bool§planner_stage: RecallPlannerStage§candidate_sources: Vec<RecallCandidateSource>§selection_rank: Option<u32>§matched_terms: Vec<String>§selected_channels: Vec<String>§filter_reasons: Vec<String>§decision_reason: String§breakdown: RecallScoreBreakdownTrait Implementations§
Source§impl Clone for RecallTraceCandidate
impl Clone for RecallTraceCandidate
Source§fn clone(&self) -> RecallTraceCandidate
fn clone(&self) -> RecallTraceCandidate
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 RecallTraceCandidate
impl Debug for RecallTraceCandidate
Source§impl<'de> Deserialize<'de> for RecallTraceCandidate
impl<'de> Deserialize<'de> for RecallTraceCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RecallTraceCandidate
impl PartialEq for RecallTraceCandidate
Source§fn eq(&self, other: &RecallTraceCandidate) -> bool
fn eq(&self, other: &RecallTraceCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecallTraceCandidate
impl Serialize for RecallTraceCandidate
impl StructuralPartialEq for RecallTraceCandidate
Auto Trait Implementations§
impl Freeze for RecallTraceCandidate
impl RefUnwindSafe for RecallTraceCandidate
impl Send for RecallTraceCandidate
impl Sync for RecallTraceCandidate
impl Unpin for RecallTraceCandidate
impl UnsafeUnpin for RecallTraceCandidate
impl UnwindSafe for RecallTraceCandidate
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