pub struct TimeZone {
pub zone: String,
pub rule: String,
}Expand description
The time zone a device announces for its mesh.
The mesh controller announces it with every periodic broadcast, and each device of the mesh keeps its clock and its power save windows by it.
Fields§
§zone: StringThe IANA name, such as Europe/Amsterdam.
rule: StringThe POSIX TZ rule the devices keep time by, such as
CET-1CEST,M3.5.0,M10.5.0/3.
Trait Implementations§
impl Eq for TimeZone
impl StructuralPartialEq for TimeZone
Auto Trait Implementations§
impl Freeze for TimeZone
impl RefUnwindSafe for TimeZone
impl Send for TimeZone
impl Sync for TimeZone
impl Unpin for TimeZone
impl UnsafeUnpin for TimeZone
impl UnwindSafe for TimeZone
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