pub struct DeviceConfig {Show 16 fields
pub pin: u32,
pub discriminator: u16,
pub listen_address: String,
pub vendor_id: u16,
pub product_id: u16,
pub dac_cert_path: String,
pub pai_cert_path: String,
pub dac_key_path: String,
pub hostname: String,
pub state_dir: Option<String>,
pub vendor_name: String,
pub product_name: String,
pub hardware_version: u16,
pub software_version: u32,
pub serial_number: String,
pub unique_id: String,
}Fields§
§pin: u32§discriminator: u16§listen_address: String§vendor_id: u16§product_id: u16§dac_cert_path: String§pai_cert_path: String§dac_key_path: String§hostname: String§state_dir: Option<String>If Some, load/save commissioned state from this directory.
vendor_name: String§product_name: String§hardware_version: u16§software_version: u32§serial_number: String§unique_id: StringTrait Implementations§
Source§impl Clone for DeviceConfig
impl Clone for DeviceConfig
Source§fn clone(&self) -> DeviceConfig
fn clone(&self) -> DeviceConfig
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 moreAuto Trait Implementations§
impl Freeze for DeviceConfig
impl RefUnwindSafe for DeviceConfig
impl Send for DeviceConfig
impl Sync for DeviceConfig
impl Unpin for DeviceConfig
impl UnwindSafe for DeviceConfig
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