pub struct ValidationSummary {
pub passed: usize,
pub errors: usize,
pub warnings: usize,
pub info: usize,
}Expand description
Summary counts for validation report
Fields§
§passed: usizeNumber of passed validations
errors: usizeNumber of error-level failures
warnings: usizeNumber of warning-level failures
info: usizeNumber of info-level 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 Default for ValidationSummary
impl Default for ValidationSummary
Source§fn default() -> ValidationSummary
fn default() -> ValidationSummary
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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