pub struct CheckReport {
pub adrs: usize,
pub blueprints: usize,
pub site_pages: usize,
pub links_ok: usize,
pub annotations_ok: usize,
pub violations: Vec<Violation>,
}Expand description
The outcome of a run: how much authored content was checked and any
drift found.
Fields§
§adrs: usizeNumber of ADRs parsed and applied.
blueprints: usizeNumber of blueprints parsed and applied.
site_pages: usizeNumber of published site pages parsed and applied.
links_ok: usizeAuthored [[…]] links that resolved and became edges.
annotations_ok: usize@rto: annotations that resolved to an active ADR.
violations: Vec<Violation>Drift findings; the check fails if this is non-empty.
Implementations§
Source§impl CheckReport
impl CheckReport
Sourcepub fn has_violations(&self) -> bool
pub fn has_violations(&self) -> bool
Whether any drift was found.
Trait Implementations§
Source§impl Clone for CheckReport
impl Clone for CheckReport
Source§fn clone(&self) -> CheckReport
fn clone(&self) -> CheckReport
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 CheckReport
impl Debug for CheckReport
Source§impl Default for CheckReport
impl Default for CheckReport
Source§fn default() -> CheckReport
fn default() -> CheckReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckReport
impl RefUnwindSafe for CheckReport
impl Send for CheckReport
impl Sync for CheckReport
impl Unpin for CheckReport
impl UnsafeUnpin for CheckReport
impl UnwindSafe for CheckReport
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