pub struct HasSummaryValidator;Expand description
Validates that a time log has a summary.
Trait Implementations§
Source§impl Validator for HasSummaryValidator
impl Validator for HasSummaryValidator
Source§fn validate_single(&mut self, time_log: &TimeLog) -> Vec<ValidationProblem>
fn validate_single(&mut self, time_log: &TimeLog) -> Vec<ValidationProblem>
Validate each
TimeLog on its own. Returns a Vec containing the problems found
or an empty Vec if there are none.Auto Trait Implementations§
impl Freeze for HasSummaryValidator
impl RefUnwindSafe for HasSummaryValidator
impl Send for HasSummaryValidator
impl Sync for HasSummaryValidator
impl Unpin for HasSummaryValidator
impl UnwindSafe for HasSummaryValidator
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