pub enum FieldName {
Show 15 variants
Id,
Type,
Name,
Description,
Refines,
DerivesFrom,
Satisfies,
IsRefinedBy,
Derives,
IsSatisfiedBy,
DependsOn,
IsRequiredBy,
Specification,
Platform,
JustifiedBy,
}Expand description
All field names used in YAML frontmatter.
Variants§
Id
Type
Name
Description
Refines
DerivesFrom
Satisfies
IsRefinedBy
Derives
IsSatisfiedBy
DependsOn
IsRequiredBy
Specification
Platform
JustifiedBy
Implementations§
Source§impl FieldName
impl FieldName
Sourcepub const fn as_str(&self) -> &'static str
pub const fn as_str(&self) -> &'static str
Returns the YAML field name (snake_case).
Used for serialization, deserialization, and error messages.
Sourcepub const fn display_name(&self) -> &'static str
pub const fn display_name(&self) -> &'static str
Returns the human-readable display name.
Used for user-facing output like change summaries.
Sourcepub const fn is_upstream(&self) -> bool
pub const fn is_upstream(&self) -> bool
Returns true if this is an upstream traceability field.
Sourcepub const fn is_downstream(&self) -> bool
pub const fn is_downstream(&self) -> bool
Returns true if this is a downstream traceability field.
Sourcepub const fn is_traceability(&self) -> bool
pub const fn is_traceability(&self) -> bool
Returns true if this is a traceability field (upstream, downstream, or peer).
Trait Implementations§
impl Copy for FieldName
impl Eq for FieldName
impl StructuralPartialEq for FieldName
Auto Trait Implementations§
impl Freeze for FieldName
impl RefUnwindSafe for FieldName
impl Send for FieldName
impl Sync for FieldName
impl Unpin for FieldName
impl UnwindSafe for FieldName
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§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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more