pub struct RecallAnswer {
pub answer_kind: AnswerKindWire,
pub memories: Vec<MemoryResult>,
}Expand description
The drained result of a RECALL. Brain recall is not always top-k: it
answers “remember this” the way a real memory does. answer_kind reports
what shape the answer took (a single memory, many memories, or none);
memories carries the recalled memory hits.
Fields§
§answer_kind: AnswerKindWireWhat shape the answer took: one memory, many, or none.
memories: Vec<MemoryResult>The recalled memories, in the order the server streamed them.
Implementations§
Source§impl RecallAnswer
impl RecallAnswer
Trait Implementations§
Source§impl Clone for RecallAnswer
impl Clone for RecallAnswer
Source§impl Debug for RecallAnswer
impl Debug for RecallAnswer
Source§impl PartialEq for RecallAnswer
impl PartialEq for RecallAnswer
impl StructuralPartialEq for RecallAnswer
Auto Trait Implementations§
impl Freeze for RecallAnswer
impl RefUnwindSafe for RecallAnswer
impl Send for RecallAnswer
impl Sync for RecallAnswer
impl Unpin for RecallAnswer
impl UnsafeUnpin for RecallAnswer
impl UnwindSafe for RecallAnswer
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