pub struct LifecycleCandidate {
pub id: String,
pub content: String,
pub kind: String,
pub created_at: i64,
pub last_accessed_at: i64,
pub access_count: u64,
pub staleness: f64,
}Expand description
One decay candidate with its full evidence — everything the judge needs to decide keep|forget without another lookup.
Fields§
§id: String§content: String§kind: StringThe EFFECTIVE kind: the stored value when valid, else semantic
(absent means semantic; an out-of-vocabulary value degrades to the
default rather than erroring a read).
created_at: i64The node id’s ULID mint timestamp (ms).
last_accessed_at: i64Raw counter value; 0 = never accessed (the age computation falls
back to created_at, this field stays raw evidence).
access_count: u64§staleness: f64Trait Implementations§
Source§impl Clone for LifecycleCandidate
impl Clone for LifecycleCandidate
Source§fn clone(&self) -> LifecycleCandidate
fn clone(&self) -> LifecycleCandidate
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 LifecycleCandidate
impl Debug for LifecycleCandidate
Auto Trait Implementations§
impl Freeze for LifecycleCandidate
impl RefUnwindSafe for LifecycleCandidate
impl Send for LifecycleCandidate
impl Sync for LifecycleCandidate
impl Unpin for LifecycleCandidate
impl UnsafeUnpin for LifecycleCandidate
impl UnwindSafe for LifecycleCandidate
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