pub struct RecallResult {
pub trace_id: String,
pub trace: Trace,
pub score: f32,
pub channels: RecallChannels,
pub duplicates: usize,
pub conflicts: Vec<String>,
pub supersedes: Option<String>,
pub superseded_by: Option<String>,
}Fields§
§trace_id: StringFirst-class attribution: the recalled trace’s id, duplicated from trace.id
so consumers don’t have to dig into the nested trace.
trace: Trace§score: f32§channels: RecallChannels§duplicates: usizeNear-identical traces folded into this result by redundancy suppression.
conflicts: Vec<String>Other active traces whose claim has the same normalized key and a different normalized value: an unresolved conflict. Empty for superseded results and for traces without a claim.
supersedes: Option<String>The trace this one replaced (a correction’s predecessor), when that supersession applied.
superseded_by: Option<String>The trace that replaced this one. Only superseded traces have one, so it is set only when
the query asked for include_superseded.
Trait Implementations§
Source§impl Clone for RecallResult
impl Clone for RecallResult
Source§impl Debug for RecallResult
impl Debug for RecallResult
Source§impl<'de> Deserialize<'de> for RecallResult
impl<'de> Deserialize<'de> for RecallResult
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
Auto Trait Implementations§
impl Freeze for RecallResult
impl RefUnwindSafe for RecallResult
impl Send for RecallResult
impl Sync for RecallResult
impl Unpin for RecallResult
impl UnsafeUnpin for RecallResult
impl UnwindSafe for RecallResult
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