pub struct ContextQueryResult {
pub matched_order: usize,
pub candidates: Vec<PriorAction>,
}Expand description
Result of PriorBook::query_with_context: which depth of context
backoff actually landed on candidates, alongside the candidates
themselves – the same “how much evidence backs this” transparency
confidence already gives per-action, but at the query level. 0 means
the order-0 (plain state) rung, identical to what PriorBook::query
alone would have returned.
Fields§
§matched_order: usize§candidates: Vec<PriorAction>Trait Implementations§
Source§impl Clone for ContextQueryResult
impl Clone for ContextQueryResult
Source§impl Debug for ContextQueryResult
impl Debug for ContextQueryResult
Source§impl PartialEq for ContextQueryResult
impl PartialEq for ContextQueryResult
Source§impl Serialize for ContextQueryResult
impl Serialize for ContextQueryResult
impl StructuralPartialEq for ContextQueryResult
Auto Trait Implementations§
impl Freeze for ContextQueryResult
impl RefUnwindSafe for ContextQueryResult
impl Send for ContextQueryResult
impl Sync for ContextQueryResult
impl Unpin for ContextQueryResult
impl UnsafeUnpin for ContextQueryResult
impl UnwindSafe for ContextQueryResult
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