pub struct ForgetCandidate {
pub memory_id: String,
pub scope: String,
pub kind: String,
pub text_preview: String,
pub use_count: u32,
pub usefulness_score: f32,
pub age_days: f64,
}Expand description
One candidate identified by the forgetting pass.
Fields§
§memory_id: String§scope: String§kind: String§text_preview: StringFirst ~80 characters of the memory text.
use_count: u32§usefulness_score: f32§age_days: f64Age in days (from last_useful_at / created_at).
Trait Implementations§
Source§impl Clone for ForgetCandidate
impl Clone for ForgetCandidate
Source§fn clone(&self) -> ForgetCandidate
fn clone(&self) -> ForgetCandidate
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 ForgetCandidate
impl Debug for ForgetCandidate
Auto Trait Implementations§
impl Freeze for ForgetCandidate
impl RefUnwindSafe for ForgetCandidate
impl Send for ForgetCandidate
impl Sync for ForgetCandidate
impl Unpin for ForgetCandidate
impl UnsafeUnpin for ForgetCandidate
impl UnwindSafe for ForgetCandidate
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