pub enum MemoryConfidence {
High,
Medium,
Low,
}Expand description
How sure the one who said it was.
Three degrees and no fourth for “not sure enough to say”. A relation is an assertion about why something happened, and an assertion nobody will stand behind is not a weak reason — it is not a reason. A caller who would have chosen “unknown” has the option of not making the claim.
This is what keeps a later session from reading every explanation as equally settled, which is the failure that makes a memory worse than no memory: a guess and a certainty, side by side, in the same typeface.
Variants§
High
Verified, or seen directly.
Medium
Reasoned from what was known, and worth acting on.
Low
Plausible, offered so a later session knows it was considered.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryConfidence
impl Clone for MemoryConfidence
Source§fn clone(&self) -> MemoryConfidence
fn clone(&self) -> MemoryConfidence
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 moreimpl Copy for MemoryConfidence
Source§impl Debug for MemoryConfidence
impl Debug for MemoryConfidence
Source§impl<'de> Deserialize<'de> for MemoryConfidence
impl<'de> Deserialize<'de> for MemoryConfidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryConfidence
Source§impl Hash for MemoryConfidence
impl Hash for MemoryConfidence
Source§impl Ord for MemoryConfidence
impl Ord for MemoryConfidence
Source§fn cmp(&self, other: &MemoryConfidence) -> Ordering
fn cmp(&self, other: &MemoryConfidence) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MemoryConfidence
impl PartialEq for MemoryConfidence
Source§impl PartialOrd for MemoryConfidence
impl PartialOrd for MemoryConfidence
Source§impl Serialize for MemoryConfidence
impl Serialize for MemoryConfidence
impl StructuralPartialEq for MemoryConfidence
Auto Trait Implementations§
impl Freeze for MemoryConfidence
impl RefUnwindSafe for MemoryConfidence
impl Send for MemoryConfidence
impl Sync for MemoryConfidence
impl Unpin for MemoryConfidence
impl UnsafeUnpin for MemoryConfidence
impl UnwindSafe for MemoryConfidence
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