pub struct QrCode {
pub version: u8,
pub requested_classes: Vec<SecurityClass>,
pub dsk: Dsk,
pub product_type: Option<ProductType>,
pub product_id: Option<ProductId>,
pub supported_protocols: Option<u16>,
pub max_inclusion_request_interval: Option<u32>,
}Expand description
What a QR code says about a node.
Fields§
§version: u80 for an S2-only code, 1 for SmartStart.
requested_classes: Vec<SecurityClass>The keys the node asks for, highest first.
dsk: DskThe node’s DSK.
product_type: Option<ProductType>Generic and specific device class and installer icon, if present.
product_id: Option<ProductId>Manufacturer, product and application version, if present.
supported_protocols: Option<u16>Supported protocols bit mask (bit 0 Z-Wave, bit 1 Long Range), if present.
max_inclusion_request_interval: Option<u32>The longest interval between SmartStart inclusion requests, in seconds, if present.
Implementations§
Trait Implementations§
impl Eq for QrCode
impl StructuralPartialEq for QrCode
Auto Trait Implementations§
impl Freeze for QrCode
impl RefUnwindSafe for QrCode
impl Send for QrCode
impl Sync for QrCode
impl Unpin for QrCode
impl UnsafeUnpin for QrCode
impl UnwindSafe for QrCode
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