pub struct AdrMeta {
pub id: String,
pub title: String,
pub status: AdrStatus,
pub version: Option<DocVersion>,
}Expand description
Metadata for one ADR, as read from its frontmatter.
Fields§
§id: StringZero-padded ADR id, e.g. 0001.
title: StringCurrent title (evolves with the decision).
status: AdrStatusLifecycle state.
version: Option<DocVersion>The version: frontmatter field, when it parses as X.Y.
Trait Implementations§
impl Eq for AdrMeta
impl StructuralPartialEq for AdrMeta
Auto Trait Implementations§
impl Freeze for AdrMeta
impl RefUnwindSafe for AdrMeta
impl Send for AdrMeta
impl Sync for AdrMeta
impl Unpin for AdrMeta
impl UnsafeUnpin for AdrMeta
impl UnwindSafe for AdrMeta
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.