pub enum SectionType {
Overview,
CoreModel,
BoundaryConditions,
Formalism,
OperationalGuidance,
Examples,
FailureModes,
ExpertLens,
References,
Other,
}Expand description
Knowledge-section types that the brain tracks per-profile (ADR-048).
Variants§
Overview
CoreModel
BoundaryConditions
Formalism
OperationalGuidance
Examples
FailureModes
ExpertLens
References
Other
Implementations§
Source§impl SectionType
impl SectionType
Sourcepub const ALL: [SectionType; 10]
pub const ALL: [SectionType; 10]
All section types as a const array.
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
Canonical string representation (matches serde snake_case).
Sourcepub fn all() -> &'static [SectionType]
pub fn all() -> &'static [SectionType]
All section types in a stable canonical order.
Trait Implementations§
Source§impl Clone for SectionType
impl Clone for SectionType
Source§fn clone(&self) -> SectionType
fn clone(&self) -> SectionType
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 SectionType
impl Debug for SectionType
Source§impl<'de> Deserialize<'de> for SectionType
impl<'de> Deserialize<'de> for SectionType
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 SectionType
impl Display for SectionType
Source§impl FromStr for SectionType
impl FromStr for SectionType
Source§impl Hash for SectionType
impl Hash for SectionType
Source§impl PartialEq for SectionType
impl PartialEq for SectionType
Source§fn eq(&self, other: &SectionType) -> bool
fn eq(&self, other: &SectionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SectionType
impl Serialize for SectionType
impl Copy for SectionType
impl Eq for SectionType
impl StructuralPartialEq for SectionType
Auto Trait Implementations§
impl Freeze for SectionType
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnsafeUnpin for SectionType
impl UnwindSafe for SectionType
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,
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.