pub enum MemoryVolatility {
Stable,
Updatable,
Ephemeral,
}Expand description
Temporal stability of a memory claim. Assigned in the comparative rescoring pass, not at single-claim extraction.
Variants§
Stable
Unlikely to change for years (name, allergies, birthplace).
Updatable
Changes occasionally (job, active project, partner’s name).
Ephemeral
Short-lived (today’s task, this week’s itinerary).
Implementations§
Source§impl MemoryVolatility
impl MemoryVolatility
Sourcepub fn from_str_lossy(s: &str) -> MemoryVolatility
pub fn from_str_lossy(s: &str) -> MemoryVolatility
Case-insensitive parser; returns Updatable (the spec default) for
unknown input.
Trait Implementations§
Source§impl Clone for MemoryVolatility
impl Clone for MemoryVolatility
Source§fn clone(&self) -> MemoryVolatility
fn clone(&self) -> MemoryVolatility
Returns a duplicate of the value. Read more
1.0.0 · 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 MemoryVolatility
impl Debug for MemoryVolatility
Source§impl<'de> Deserialize<'de> for MemoryVolatility
impl<'de> Deserialize<'de> for MemoryVolatility
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryVolatility, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryVolatility, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MemoryVolatility
impl Hash for MemoryVolatility
Source§impl PartialEq for MemoryVolatility
impl PartialEq for MemoryVolatility
Source§impl Serialize for MemoryVolatility
impl Serialize for MemoryVolatility
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for MemoryVolatility
impl Eq for MemoryVolatility
impl StructuralPartialEq for MemoryVolatility
Auto Trait Implementations§
impl Freeze for MemoryVolatility
impl RefUnwindSafe for MemoryVolatility
impl Send for MemoryVolatility
impl Sync for MemoryVolatility
impl Unpin for MemoryVolatility
impl UnsafeUnpin for MemoryVolatility
impl UnwindSafe for MemoryVolatility
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