forked from Proxmox/proxmox
DailyDuration: derive PartialEq (for GUI)
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
1e64feeaad
commit
c1819c2549
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user