pub struct SchemaReport { /* private fields */ }Expand description
The outcome of validating a document against the ISO 23387 grammar.
Implementations§
Source§impl SchemaReport
impl SchemaReport
Sourcepub fn is_conforming(&self) -> bool
pub fn is_conforming(&self) -> bool
Whether the document satisfied every checked schema rule.
pub fn violations(&self) -> &[SchemaViolation]
Trait Implementations§
Source§impl Clone for SchemaReport
impl Clone for SchemaReport
Source§fn clone(&self) -> SchemaReport
fn clone(&self) -> SchemaReport
Returns a copy of the value. Read more
1.0.0 · 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 SchemaReport
impl Debug for SchemaReport
Source§impl Default for SchemaReport
impl Default for SchemaReport
Source§fn default() -> SchemaReport
fn default() -> SchemaReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for SchemaReport
impl PartialEq for SchemaReport
impl Eq for SchemaReport
impl StructuralPartialEq for SchemaReport
Auto Trait Implementations§
impl Freeze for SchemaReport
impl RefUnwindSafe for SchemaReport
impl Send for SchemaReport
impl Sync for SchemaReport
impl Unpin for SchemaReport
impl UnwindSafe for SchemaReport
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