chore(calendar): add derive attributes

This commit is contained in:
Eduardo Flores 2025-01-19 11:58:57 +00:00 committed by GitHub
parent 1914006cdd
commit 00a4042c40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,