pub struct BeforeStartDateValidator { /* private fields */ }Expand description
Validates that a time log date is not before the project start date.
Implementations§
Trait Implementations§
Source§impl Validator for BeforeStartDateValidator
impl Validator for BeforeStartDateValidator
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 BeforeStartDateValidator
impl RefUnwindSafe for BeforeStartDateValidator
impl Send for BeforeStartDateValidator
impl Sync for BeforeStartDateValidator
impl Unpin for BeforeStartDateValidator
impl UnwindSafe for BeforeStartDateValidator
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