pub struct ValidationReport {
pub diagnostics: Vec<Diagnostic>,
}Expand description
The outcome of a full document validation pass.
Fields§
§diagnostics: Vec<Diagnostic>All diagnostics collected during validation (token resolution + document-level checks). Never causes a hard panic; always complete.
Implementations§
Source§impl ValidationReport
impl ValidationReport
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Returns true if any diagnostic has Severity::Error.
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§fn clone(&self) -> ValidationReport
fn clone(&self) -> ValidationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidationReport
impl Debug for ValidationReport
Source§impl PartialEq for ValidationReport
impl PartialEq for ValidationReport
Source§fn eq(&self, other: &ValidationReport) -> bool
fn eq(&self, other: &ValidationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.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