pub struct Report {
pub findings: Vec<Finding>,
pub profile_slug: &'static str,
pub rules_checked: usize,
}Expand description
Validation result. Self::ok is “no Fatal”, not “no findings”.
Fields§
§findings: Vec<Finding>Collected hits, unsorted until Self::sort_stable.
profile_slug: &'static strProfile slug of the invoice that was checked.
rules_checked: usizeNumber of rule evals invoked (CORE + extras).
Implementations§
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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