pub enum KnowledgeNature {
Fact,
Convention,
Observation,
Decision,
Preference,
}Expand description
The nature of a knowledge node — what kind of knowledge it represents.
Variants§
Fact
A verifiable fact about the codebase.
Convention
A detected coding convention.
Observation
A pattern observed in code without enough adoption to be a convention.
Decision
An explicit architectural or design decision.
Preference
A user-confirmed preference.
Implementations§
Trait Implementations§
Source§impl Clone for KnowledgeNature
impl Clone for KnowledgeNature
Source§fn clone(&self) -> KnowledgeNature
fn clone(&self) -> KnowledgeNature
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 KnowledgeNature
Source§impl Debug for KnowledgeNature
impl Debug for KnowledgeNature
Source§impl<'de> Deserialize<'de> for KnowledgeNature
impl<'de> Deserialize<'de> for KnowledgeNature
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 Display for KnowledgeNature
impl Display for KnowledgeNature
impl Eq for KnowledgeNature
Source§impl FromStr for KnowledgeNature
impl FromStr for KnowledgeNature
Source§impl Hash for KnowledgeNature
impl Hash for KnowledgeNature
Source§impl PartialEq for KnowledgeNature
impl PartialEq for KnowledgeNature
Source§fn eq(&self, other: &KnowledgeNature) -> bool
fn eq(&self, other: &KnowledgeNature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KnowledgeNature
impl Serialize for KnowledgeNature
impl StructuralPartialEq for KnowledgeNature
Auto Trait Implementations§
impl Freeze for KnowledgeNature
impl RefUnwindSafe for KnowledgeNature
impl Send for KnowledgeNature
impl Sync for KnowledgeNature
impl Unpin for KnowledgeNature
impl UnsafeUnpin for KnowledgeNature
impl UnwindSafe for KnowledgeNature
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