pub struct VersionFacts {
pub summary_row: Option<DocVersion>,
pub history: Vec<DocVersion>,
pub inline_refs: Vec<InlineVersionRef>,
}Expand description
Every claim an ADR makes about its own version, gathered so
crate::check::validate can cross-check them against each other.
Fields§
§summary_row: Option<DocVersion>The version cell of the | **Document version** | X.Y | summary row.
history: Vec<DocVersion>The first cell of each version-history row, in document order.
inline_refs: Vec<InlineVersionRef>(Update, vX.Y…) notes in the body, excluding the version-history
section — a history row that describes removing such a note quotes it,
and quoting it is not making the claim again.
Trait Implementations§
Source§impl Clone for VersionFacts
impl Clone for VersionFacts
Source§fn clone(&self) -> VersionFacts
fn clone(&self) -> VersionFacts
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 VersionFacts
impl Debug for VersionFacts
Source§impl Default for VersionFacts
impl Default for VersionFacts
Source§fn default() -> VersionFacts
fn default() -> VersionFacts
Returns the “default value” for a type. Read more
impl Eq for VersionFacts
Source§impl PartialEq for VersionFacts
impl PartialEq for VersionFacts
impl StructuralPartialEq for VersionFacts
Auto Trait Implementations§
impl Freeze for VersionFacts
impl RefUnwindSafe for VersionFacts
impl Send for VersionFacts
impl Sync for VersionFacts
impl Unpin for VersionFacts
impl UnsafeUnpin for VersionFacts
impl UnwindSafe for VersionFacts
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.