pub struct ValidationSummary {
pub total_rules: usize,
pub passed: usize,
pub failed: usize,
pub critical_failures: usize,
pub error_failures: usize,
pub warning_failures: usize,
pub is_coherent: bool,
}Expand description
Summary of validation results.
Fields§
§total_rules: usizeTotal number of rules validated.
passed: usizeRules that passed.
failed: usizeRules that failed.
critical_failures: usizeCritical failures.
error_failures: usizeError failures.
warning_failures: usizeWarning failures.
is_coherent: boolOverall coherence (no critical failures).
Trait Implementations§
Source§impl Clone for ValidationSummary
impl Clone for ValidationSummary
Source§fn clone(&self) -> ValidationSummary
fn clone(&self) -> ValidationSummary
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 ValidationSummary
impl Debug for ValidationSummary
Source§impl<'de> Deserialize<'de> for ValidationSummary
impl<'de> Deserialize<'de> for ValidationSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ValidationSummary
impl RefUnwindSafe for ValidationSummary
impl Send for ValidationSummary
impl Sync for ValidationSummary
impl Unpin for ValidationSummary
impl UnwindSafe for ValidationSummary
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