pub struct ControllerIdentity {Show 15 fields
pub firmware: String,
pub manufacturer_id: u16,
pub product_type: u16,
pub product_id: u16,
pub capabilities: SerialApiCapabilities,
pub library_version: Option<String>,
pub api_version: Option<u8>,
pub chip: Option<(u8, u8)>,
pub series: Option<Series>,
pub home_id: Option<u32>,
pub node_id: Option<NodeId>,
pub primary: Option<bool>,
pub sis: Option<bool>,
pub node_count: Option<usize>,
pub region: Option<RfRegion>,
}Expand description
What answered on the port.
Fields§
§firmware: StringSerial API firmware version, major.minor.
manufacturer_id: u16Z-Wave manufacturer id of the stick.
product_type: u16Product type.
product_id: u16Product id.
capabilities: SerialApiCapabilitiesThe full capability response.
library_version: Option<String>Library version string, e.g. Z-Wave 7.21.
api_version: Option<u8>Serial API version from the init data.
chip: Option<(u8, u8)>Chip type and version from the init data.
series: Option<Series>Chip series, when the chip type is known.
home_id: Option<u32>Home id of the network the controller is in.
node_id: Option<NodeId>The controller’s own node id.
primary: Option<bool>Whether it is the primary controller of its network (not a secondary).
sis: Option<bool>Whether it is the SUC/SIS.
node_count: Option<usize>Nodes in its network, the controller excluded.
region: Option<RfRegion>RF region, if the controller reports it.
Implementations§
Source§impl ControllerIdentity
impl ControllerIdentity
Sourcepub fn known_name(&self) -> Option<&'static str>
pub fn known_name(&self) -> Option<&'static str>
A best-effort name for well-known sticks.
Trait Implementations§
Source§impl Clone for ControllerIdentity
impl Clone for ControllerIdentity
Source§impl Debug for ControllerIdentity
impl Debug for ControllerIdentity
impl Eq for ControllerIdentity
Source§impl PartialEq for ControllerIdentity
impl PartialEq for ControllerIdentity
impl StructuralPartialEq for ControllerIdentity
Auto Trait Implementations§
impl Freeze for ControllerIdentity
impl RefUnwindSafe for ControllerIdentity
impl Send for ControllerIdentity
impl Sync for ControllerIdentity
impl Unpin for ControllerIdentity
impl UnsafeUnpin for ControllerIdentity
impl UnwindSafe for ControllerIdentity
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