pub struct AuthoredLayer {
pub docs: Vec<AdrDoc>,
pub blueprints: Vec<BlueprintDoc>,
pub annotations: Vec<Annotation>,
pub malformed: Vec<Violation>,
}Expand description
The authored documents found in one tree, ready for crate::check::run or
crate::check::validate.
Fields§
§docs: Vec<AdrDoc>ADRs under docs/adr/ that parsed.
blueprints: Vec<BlueprintDoc>House-style blueprints (markdown, no frontmatter).
annotations: Vec<Annotation>@rto: annotations scanned from every other file.
malformed: Vec<Violation>ADRs under docs/adr/ — and site pages anywhere — that did not
parse. Carried as violations rather than dropped: a malformed ADR is
drift, not a skippable warning — swallowing it lets the gate pass while
silently discarding authored intent. A site page that declared itself
published and then failed to parse is the same failure with a public
consequence: the page silently does not exist.
Trait Implementations§
Source§impl Debug for AuthoredLayer
impl Debug for AuthoredLayer
Source§impl Default for AuthoredLayer
impl Default for AuthoredLayer
Source§fn default() -> AuthoredLayer
fn default() -> AuthoredLayer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthoredLayer
impl RefUnwindSafe for AuthoredLayer
impl Send for AuthoredLayer
impl Sync for AuthoredLayer
impl Unpin for AuthoredLayer
impl UnsafeUnpin for AuthoredLayer
impl UnwindSafe for AuthoredLayer
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