pub struct Report {
pub level: Level,
pub violations: Vec<Violation>,
}Expand description
What check found.
Report::conforms is the one-bit answer; the violations are the reason.
A report is always complete for the checks this engine implements, which
is not the same as complete for ISO 19005. A caller that needs the
distinction should treat a passing report as “we found nothing”, not as a
certificate.
Fields§
§level: LevelThe level checked against.
violations: Vec<Violation>Every requirement failed, in the order the checks ran: document-wide properties first, then per-page walks in page order.
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