pub struct ValidationReport {
pub journal: Journal,
pub issues: Vec<ValidationIssue>,
}Expand description
A complete validation result, including the normalized journal and all non-cascading issues found while walking it.
Fields§
§journal: JournalChronologically sorted journal, with inferable amounts filled in.
issues: Vec<ValidationIssue>Issues paired with their positions in the input journal.
Implementations§
Source§impl ValidationReport
impl ValidationReport
Sourcepub fn errors(&self) -> impl Iterator<Item = &ValidationError>
pub fn errors(&self) -> impl Iterator<Item = &ValidationError>
Returns the validation errors in the same order as Self::issues.
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§impl Debug for ValidationReport
impl Debug for ValidationReport
Source§impl PartialEq for ValidationReport
impl PartialEq for ValidationReport
impl StructuralPartialEq for ValidationReport
Auto Trait Implementations§
impl Freeze for ValidationReport
impl RefUnwindSafe for ValidationReport
impl Send for ValidationReport
impl Sync for ValidationReport
impl Unpin for ValidationReport
impl UnsafeUnpin for ValidationReport
impl UnwindSafe for ValidationReport
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