chore(calendar): add derive attributes

This commit is contained in:
Eduardo Flores 2025-01-19 11:58:57 +00:00 • committed by Adam Cosner
parent a6ffeb2abe
commit 3a9aff13d6

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,