pub enum InvalidationReason {
Obsolete,
Superseded,
Conflicted,
Incorrect,
Duplicate,
Forgotten,
Manual,
}Expand description
Canonical invalidation reason enum.
The string representation (serde snake_case) is written to the
invalidated_reason column. Rows from before this enum was introduced
have free-text reasons — they parse as Manual when the text doesn’t
match a known variant.
Back-compat guarantee: InvalidationReason::Manual is the catch-all so
existing rows and any hand-typed reason strings keep deserialising cleanly.
Variants§
Obsolete
The memory is no longer accurate / the described behaviour changed.
Superseded
A newer memory supersedes or refines this one.
Conflicted
This memory directly contradicts another accepted memory.
Incorrect
The memory was factually wrong.
Duplicate
An exact or near-exact duplicate of another memory exists.
Forgotten
Archived by the active-forgetting policy (low-usefulness + stale).
Manual
Manually invalidated by a human (default / catch-all).
Implementations§
Trait Implementations§
Source§impl Clone for InvalidationReason
impl Clone for InvalidationReason
Source§fn clone(&self) -> InvalidationReason
fn clone(&self) -> InvalidationReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more