pub struct CheckReport {
pub issues: Vec<CheckIssue>,
pub docs_checked: usize,
pub timestamp: NaiveDate,
}Expand description
Aggregated results from all health checks.
Fields§
§issues: Vec<CheckIssue>§docs_checked: usize§timestamp: NaiveDateImplementations§
Source§impl CheckReport
impl CheckReport
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Returns true if any issue has Error severity.
Sourcepub fn has_warnings(&self) -> bool
pub fn has_warnings(&self) -> bool
Returns true if any issue has Warning severity.
Sourcepub fn error_count(&self) -> usize
pub fn error_count(&self) -> usize
Count of issues with Error severity.
Sourcepub fn warning_count(&self) -> usize
pub fn warning_count(&self) -> usize
Count of issues with Warning severity.
Sourcepub fn info_count(&self) -> usize
pub fn info_count(&self) -> usize
Count of issues with Info severity.
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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