pub struct Time {
pub hour: u8,
pub minute: u8,
pub second: u8,
pub hundredths: u8,
}Expand description
BACnet Time: hour, minute, second, hundredths.
Each field can be 0xFF for “unspecified”.
Fields§
§hour: u8Hour (0-23, or 0xFF for unspecified).
minute: u8Minute (0-59, or 0xFF for unspecified).
second: u8Second (0-59, or 0xFF for unspecified).
hundredths: u8Hundredths of a second (0-99, or 0xFF for unspecified).
Implementations§
Trait Implementations§
impl Copy for Time
impl Eq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnsafeUnpin for Time
impl UnwindSafe for Time
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