pub struct DeviceState {
pub bindings: Vec<Binding>,
pub reporting: HashMap<(u8, u16, u16), ReportingConfig>,
pub seq: u8,
pub ias_enrolled: bool,
pub ota: Option<OtaDownload>,
}Expand description
What a joined device remembers.
Fields§
§bindings: Vec<Binding>Its bindings.
reporting: HashMap<(u8, u16, u16), ReportingConfig>Its reporting configuration, by (endpoint, cluster, attribute).
seq: u8ZCL sequence for frames it originates.
ias_enrolled: boolEnrolled in an IAS zone.
ota: Option<OtaDownload>An OTA download in progress.
Trait Implementations§
Source§impl Clone for DeviceState
impl Clone for DeviceState
Source§impl Debug for DeviceState
impl Debug for DeviceState
Auto Trait Implementations§
impl Freeze for DeviceState
impl RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl UnsafeUnpin for DeviceState
impl UnwindSafe for DeviceState
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