pub struct DeviceInfoData {
pub fw_version_code: u8,
pub max_contacts: Option<u8>,
pub max_channels: Option<u8>,
pub ble_pin: Option<u32>,
pub fw_build: Option<String>,
pub model: Option<String>,
pub version: Option<String>,
pub repeat: Option<bool>,
}Expand description
Device info/capabilities
Fields§
§fw_version_code: u8Firmware version code
max_contacts: Option<u8>Maximum contacts (multiplied by 2 from raw value, v3+)
max_channels: Option<u8>Maximum group channels (v3+)
ble_pin: Option<u32>BLE PIN code (v3+)
fw_build: Option<String>Firmware build date string (e.g., “Feb 15 2025”, v3+)
model: Option<String>Device model/manufacturer name (v3+)
version: Option<String>Firmware version string (e.g., “1.2.3”, v3+)
repeat: Option<bool>Repeat/relay mode enabled (v9+)
Trait Implementations§
Source§impl Clone for DeviceInfoData
impl Clone for DeviceInfoData
Source§fn clone(&self) -> DeviceInfoData
fn clone(&self) -> DeviceInfoData
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 DeviceInfoData
impl Debug for DeviceInfoData
Source§impl Default for DeviceInfoData
impl Default for DeviceInfoData
Source§fn default() -> DeviceInfoData
fn default() -> DeviceInfoData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceInfoData
impl RefUnwindSafe for DeviceInfoData
impl Send for DeviceInfoData
impl Sync for DeviceInfoData
impl Unpin for DeviceInfoData
impl UnsafeUnpin for DeviceInfoData
impl UnwindSafe for DeviceInfoData
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