fix: derive attributes

- Add standard derive attributes for CalendarModel
This commit is contained in:
Eduardo Flores 2025-01-19 12:53:46 +01:00
parent 1914006cdd
commit 2849e651a6

View file

@ -42,6 +42,7 @@ pub fn set_day(date_selected: NaiveDate, day: u32) -> NaiveDate {
}
}
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)]
pub struct CalendarModel {
pub selected: NaiveDate,
visible: NaiveDate,