pub trait DayFilter {
    fn start(&self) -> String;
    fn end(&self) -> String;
    fn filter_day(&self, day: Day) -> Option<Day>;
}
Expand description

Trait specifying common functionality for the different filter arguments.

Required Methods

Return the start date as a String

Return the end date as a String

Return a Day object after appropriate filtering

Implementors