forked from proxmox-mirrors/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]
|
/// Defines a period of time for on or more [WeekDays]
|
||||||
#[derive(Default, Clone, Debug)]
|
#[derive(Default, Clone, Debug, PartialEq)]
|
||||||
pub struct DailyDuration {
|
pub struct DailyDuration {
|
||||||
/// the days in a week this duration should trigger
|
/// the days in a week this duration should trigger
|
||||||
pub days: WeekDays,
|
pub days: WeekDays,
|
||||||
|
Loading…
Reference in New Issue
Block a user