pub struct Days {
pub monday: u8,
pub tuesday: u8,
pub wednesday: u8,
pub thursday: u8,
pub friday: u8,
pub saturday: u8,
pub sunday: u8,
pub all: u8,
pub week_days: u8,
pub weekend_days: u8,
pub none: u8,
}
Expand description
Represents days of the week for scheduling
Fields§
§monday: u8
Monday (0x01)
tuesday: u8
Tuesday (0x02)
wednesday: u8
Wednesday (0x04)
thursday: u8
Thursday (0x08)
friday: u8
Friday (0x10)
saturday: u8
Saturday (0x20)
sunday: u8
Sunday (0x40)
all: u8
All days (0x7F)
week_days: u8
Week days (Monday-Friday, 0x1F)
weekend_days: u8
Weekend days (Saturday-Sunday, 0x60)
none: u8
No days (0x00)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Days
impl RefUnwindSafe for Days
impl Send for Days
impl Sync for Days
impl Unpin for Days
impl UnwindSafe for Days
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