pub struct DayAlarm2 {
pub day: u8,
pub hour: Hours,
pub minute: u8,
}
Expand description
Parameters for setting Alarm2 on a day of the month
Depending on the matching strategy, some fields may not be relevant. In this case, invalid values are ignored and the minimum valid values are used instead to configure the alarm:
- Minute and hour: 0
- Day: 1
Fields§
§day: u8
Day of month [1-31]
hour: Hours
Hour
minute: u8
Minute [0-59]
Trait Implementations§
source§impl PartialEq<DayAlarm2> for DayAlarm2
impl PartialEq<DayAlarm2> for DayAlarm2
impl Copy for DayAlarm2
impl StructuralPartialEq for DayAlarm2
Auto Trait Implementations§
impl RefUnwindSafe for DayAlarm2
impl Send for DayAlarm2
impl Sync for DayAlarm2
impl Unpin for DayAlarm2
impl UnwindSafe for DayAlarm2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more