pub struct BACnetWeekNDay {
pub month: u8,
pub week_of_month: u8,
pub day_of_week: u8,
}Expand description
BACnet Week-And-Day: OCTET STRING(3) encoding month, week_of_month, and day_of_week.
Each field may be 0xFF to mean “any” (wildcard).
month: 1-12, 13=odd months, 14=even months, 0xFF=anyweek_of_month: 1-5 = the days numbered 1-7, 8-14, 15-21, 22-28 and 29-31; 6 = the last 7 days of the month; 7, 8 and 9 = the 7 days before the last 7, 14 and 21 days; 0xFF=anyday_of_week: 1=Monday..7=Sunday, 0xFF=any
Fields§
§month: u8Month (1-14, or 0xFF for any).
week_of_month: u8Week of month (1-9, or 0xFF for any).
day_of_week: u8Day of week (1-7, or 0xFF for any).
Implementations§
Trait Implementations§
Source§impl Clone for BACnetWeekNDay
impl Clone for BACnetWeekNDay
Source§impl Debug for BACnetWeekNDay
impl Debug for BACnetWeekNDay
impl Eq for BACnetWeekNDay
Source§impl PartialEq for BACnetWeekNDay
impl PartialEq for BACnetWeekNDay
impl StructuralPartialEq for BACnetWeekNDay
Auto Trait Implementations§
impl Freeze for BACnetWeekNDay
impl RefUnwindSafe for BACnetWeekNDay
impl Send for BACnetWeekNDay
impl Sync for BACnetWeekNDay
impl Unpin for BACnetWeekNDay
impl UnsafeUnpin for BACnetWeekNDay
impl UnwindSafe for BACnetWeekNDay
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