#[non_exhaustive]pub struct Explanation {
pub trace: QueryTrace,
pub per_hit: Vec<PerHitExplain>,
}Expand description
0.8.8 EXP-OBS (Slice 5) — the opt-in retrieval explanation payload returned
behind search_explained (the explain=true surface). Built from the
engine’s OWN fusion/rerank machinery (fuse_three_arms per-arm ranks,
ce_rerank blend components) — no parallel machinery (R-OBS-3). Carries a
query-level QueryTrace plus a per-hit breakdown parallel to (and in the
same order as) SearchResult.results.
Derives Clone, Debug, PartialEq but not Eq — scores are f64.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.trace: QueryTrace§per_hit: Vec<PerHitExplain>Trait Implementations§
Source§impl Clone for Explanation
impl Clone for Explanation
Source§fn clone(&self) -> Explanation
fn clone(&self) -> Explanation
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 Explanation
impl Debug for Explanation
Source§impl PartialEq for Explanation
impl PartialEq for Explanation
impl StructuralPartialEq for Explanation
Auto Trait Implementations§
impl Freeze for Explanation
impl RefUnwindSafe for Explanation
impl Send for Explanation
impl Sync for Explanation
impl Unpin for Explanation
impl UnsafeUnpin for Explanation
impl UnwindSafe for Explanation
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