pub enum Verdict {
Valid,
Invalid,
}Expand description
The overall verdict on a document.
Variants§
Valid
No schema error and no finding with severity Severity::Fatal (and, in a rule
set that selects by scenario, one scenario matched).
Invalid
At least one schema error or one finding with severity Severity::Fatal, or, in
a rule set that selects by scenario, no scenario for the document
(Report::no_scenario).
Implementations§
Trait Implementations§
impl Copy for Verdict
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Forget for Verdict
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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