pub struct ContradictionState {
pub claim_key: String,
pub memory_ids: BTreeSet<String>,
pub reason: String,
}Expand description
Semantic state of one unresolved contradiction in a snapshot.
Fields§
§claim_key: StringCompound key identifying the contradicting claims.
memory_ids: BTreeSet<String>Ids of memories involved in the contradiction.
reason: StringHuman-readable contradiction reason.
Trait Implementations§
Source§impl Clone for ContradictionState
impl Clone for ContradictionState
Source§fn clone(&self) -> ContradictionState
fn clone(&self) -> ContradictionState
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 ContradictionState
impl Debug for ContradictionState
Source§impl<'de> Deserialize<'de> for ContradictionState
impl<'de> Deserialize<'de> for ContradictionState
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
Source§impl Ord for ContradictionState
impl Ord for ContradictionState
Source§fn cmp(&self, other: &ContradictionState) -> Ordering
fn cmp(&self, other: &ContradictionState) -> 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
Source§impl PartialEq for ContradictionState
impl PartialEq for ContradictionState
Source§fn eq(&self, other: &ContradictionState) -> bool
fn eq(&self, other: &ContradictionState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ContradictionState
impl PartialOrd for ContradictionState
Source§impl Serialize for ContradictionState
impl Serialize for ContradictionState
impl Eq for ContradictionState
impl StructuralPartialEq for ContradictionState
Auto Trait Implementations§
impl Freeze for ContradictionState
impl RefUnwindSafe for ContradictionState
impl Send for ContradictionState
impl Sync for ContradictionState
impl Unpin for ContradictionState
impl UnsafeUnpin for ContradictionState
impl UnwindSafe for ContradictionState
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