pub struct ValidationOutput {
pub is_valid: bool,
pub is_complete: bool,
pub errors: Vec<ValidationError>,
pub warnings: Vec<ValidationWarning>,
}Expand description
Final validation output returned to callers.
Fields§
§is_valid: boolNo type errors (holes are allowed)
is_complete: boolNo type errors AND no holes
errors: Vec<ValidationError>Type errors encountered during validation
warnings: Vec<ValidationWarning>Warnings (e.g., unknown extensions)
Trait Implementations§
Source§impl Clone for ValidationOutput
impl Clone for ValidationOutput
Source§fn clone(&self) -> ValidationOutput
fn clone(&self) -> ValidationOutput
Returns a duplicate 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 ValidationOutput
impl Debug for ValidationOutput
Source§impl Default for ValidationOutput
impl Default for ValidationOutput
Source§fn default() -> ValidationOutput
fn default() -> ValidationOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidationOutput
impl RefUnwindSafe for ValidationOutput
impl Send for ValidationOutput
impl Sync for ValidationOutput
impl Unpin for ValidationOutput
impl UnwindSafe for ValidationOutput
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