pub struct ExplainedResultAnswerV1 {
pub result_id: String,
pub source_kind: String,
pub source_id: String,
pub why_this_result: Vec<String>,
pub text_match: bool,
pub vector_match: bool,
pub recency_applied: bool,
pub exact_vector_rerank: bool,
pub final_score: f64,
}Expand description
Product-facing answer for one explained result.
Fields§
§result_id: StringStable result ID used in receipts and replay logs.
source_kind: StringSource family label.
source_id: StringAuthoritative source row key without the receipt result prefix.
why_this_result: Vec<String>Plain-language reasons this result appeared.
text_match: boolWhether the result matched the text/BM25 lane.
vector_match: boolWhether the result matched the vector lane.
recency_applied: boolWhether recency contributed to the score.
exact_vector_rerank: boolWhether exact f32 rerank/reference scoring was used for the vector lane.
final_score: f64Final fused score.
Trait Implementations§
Source§impl Clone for ExplainedResultAnswerV1
impl Clone for ExplainedResultAnswerV1
Source§fn clone(&self) -> ExplainedResultAnswerV1
fn clone(&self) -> ExplainedResultAnswerV1
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 ExplainedResultAnswerV1
impl Debug for ExplainedResultAnswerV1
Source§impl<'de> Deserialize<'de> for ExplainedResultAnswerV1
impl<'de> Deserialize<'de> for ExplainedResultAnswerV1
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 ExplainedResultAnswerV1
impl RefUnwindSafe for ExplainedResultAnswerV1
impl Send for ExplainedResultAnswerV1
impl Sync for ExplainedResultAnswerV1
impl Unpin for ExplainedResultAnswerV1
impl UnsafeUnpin for ExplainedResultAnswerV1
impl UnwindSafe for ExplainedResultAnswerV1
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