pub struct InjectionCandidate {
pub node: MemoryNode,
pub score: f32,
pub reason: SelectionReason,
}Expand description
One injection-ready memory with its selection metadata.
Fields§
§node: MemoryNode§score: f32Retrieval score after demotion adjustment (0.0 for pinned items, which are not score-ranked).
reason: SelectionReasonAuto Trait Implementations§
impl Freeze for InjectionCandidate
impl RefUnwindSafe for InjectionCandidate
impl Send for InjectionCandidate
impl Sync for InjectionCandidate
impl Unpin for InjectionCandidate
impl UnsafeUnpin for InjectionCandidate
impl UnwindSafe for InjectionCandidate
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