pub enum KnowledgeKind {
Memory,
Requirement,
Decision,
Research,
Runbook,
Artifact,
Note,
Other(String),
}Expand description
Document kind. Extensible: unknown kinds round-trip through Other.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for KnowledgeKind
impl Clone for KnowledgeKind
Source§fn clone(&self) -> KnowledgeKind
fn clone(&self) -> KnowledgeKind
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 KnowledgeKind
impl Debug for KnowledgeKind
Source§impl<'de> Deserialize<'de> for KnowledgeKind
impl<'de> Deserialize<'de> for KnowledgeKind
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for KnowledgeKind
impl Display for KnowledgeKind
impl Eq for KnowledgeKind
Source§impl PartialEq for KnowledgeKind
impl PartialEq for KnowledgeKind
Source§fn eq(&self, other: &KnowledgeKind) -> bool
fn eq(&self, other: &KnowledgeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KnowledgeKind
impl Serialize for KnowledgeKind
impl StructuralPartialEq for KnowledgeKind
Auto Trait Implementations§
impl Freeze for KnowledgeKind
impl RefUnwindSafe for KnowledgeKind
impl Send for KnowledgeKind
impl Sync for KnowledgeKind
impl Unpin for KnowledgeKind
impl UnsafeUnpin for KnowledgeKind
impl UnwindSafe for KnowledgeKind
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.