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, 14=even, 0xFF=anyweek_of_month: 1=first, 2=second, …, 5=last, 6=any-in-first, 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-6, 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§fn clone(&self) -> BACnetWeekNDay
fn clone(&self) -> BACnetWeekNDay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BACnetWeekNDay
impl Debug for BACnetWeekNDay
Source§impl PartialEq for BACnetWeekNDay
impl PartialEq for BACnetWeekNDay
impl Eq 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