pub struct ValidationSummary {
pub total_checks: usize,
pub passed_checks: usize,
pub failed_checks: usize,
pub results: Vec<ValidationResult>,
}Fields§
§total_checks: usize§passed_checks: usize§failed_checks: usize§results: Vec<ValidationResult>Implementations§
Source§impl ValidationSummary
impl ValidationSummary
pub fn new() -> Self
pub fn add_result(&mut self, result: ValidationResult)
pub fn is_success(&self) -> bool
pub fn all_errors(&self) -> Vec<String>
Trait Implementations§
Source§impl Debug for ValidationSummary
impl Debug for ValidationSummary
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