pub enum ThoughtRelationKind {
References,
Summarizes,
Corrects,
Invalidates,
CausedBy,
Supports,
Contradicts,
DerivedFrom,
ContinuesFrom,
RelatedTo,
}Expand description
Why a thought points to another thought.
§Example
use mentisdb::ThoughtRelationKind;
assert_eq!(ThoughtRelationKind::Corrects as u8, ThoughtRelationKind::Corrects as u8);Variants§
References
A general back-reference.
Summarizes
The source thought summarizes the target thought.
Corrects
The source thought corrects the target thought.
Invalidates
The source thought invalidates the target thought.
CausedBy
The source thought was caused by the target thought.
Supports
The source thought supports the target thought.
Contradicts
The source thought contradicts the target thought.
DerivedFrom
The source thought was derived from the target thought.
ContinuesFrom
The source thought continues the work or state of the target thought.
RelatedTo
A generic semantic relation exists between source and target.
Trait Implementations§
Source§impl Clone for ThoughtRelationKind
impl Clone for ThoughtRelationKind
Source§fn clone(&self) -> ThoughtRelationKind
fn clone(&self) -> ThoughtRelationKind
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 ThoughtRelationKind
Source§impl Debug for ThoughtRelationKind
impl Debug for ThoughtRelationKind
Source§impl<'de> Deserialize<'de> for ThoughtRelationKind
impl<'de> Deserialize<'de> for ThoughtRelationKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThoughtRelationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThoughtRelationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ThoughtRelationKind
Source§impl Hash for ThoughtRelationKind
impl Hash for ThoughtRelationKind
Source§impl PartialEq for ThoughtRelationKind
impl PartialEq for ThoughtRelationKind
Source§fn eq(&self, other: &ThoughtRelationKind) -> bool
fn eq(&self, other: &ThoughtRelationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ThoughtRelationKind
impl Serialize for ThoughtRelationKind
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 StructuralPartialEq for ThoughtRelationKind
Auto Trait Implementations§
impl Freeze for ThoughtRelationKind
impl RefUnwindSafe for ThoughtRelationKind
impl Send for ThoughtRelationKind
impl Sync for ThoughtRelationKind
impl Unpin for ThoughtRelationKind
impl UnsafeUnpin for ThoughtRelationKind
impl UnwindSafe for ThoughtRelationKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.