DailyDuration: derive PartialEq (for GUI)

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2023-10-20 12:01:27 +02:00
parent 1e64feeaad
commit c1819c2549

View File

@ -30,7 +30,7 @@ impl PartialOrd for HmTime {
}
/// Defines a period of time for on or more [WeekDays]
#[derive(Default, Clone, Debug)]
#[derive(Default, Clone, Debug, PartialEq)]
pub struct DailyDuration {
/// the days in a week this duration should trigger
pub days: WeekDays,