pub struct ZwaveSoftwareReport {
pub sdk_version: u32,
pub application_framework_api_version: u32,
pub application_framework_build: u16,
pub host_interface_version: u32,
pub host_interface_build: u16,
pub zwave_protocol_version: u32,
pub zwave_protocol_build: u16,
pub application_version: u32,
pub application_build: u16,
}Expand description
Version Zwave Software Report (0x86 0x18).
Fields§
§sdk_version: u32The sdk_version field.
application_framework_api_version: u32The application_framework_api_version field.
application_framework_build: u16The application_framework_build field.
host_interface_version: u32The host_interface_version field.
host_interface_build: u16The host_interface_build field.
zwave_protocol_version: u32The zwave_protocol_version field.
zwave_protocol_build: u16The zwave_protocol_build field.
application_version: u32The application_version field.
application_build: u16The application_build field.
Implementations§
Source§impl ZwaveSoftwareReport
impl ZwaveSoftwareReport
Sourcepub fn parse(p: &[u8]) -> Result<Self, ParseError>
pub fn parse(p: &[u8]) -> Result<Self, ParseError>
Parses the payload after the command id. Extra trailing bytes (newer versions) are ignored.
Sourcepub fn encode_payload(&self, w: &mut Vec<u8>)
pub fn encode_payload(&self, w: &mut Vec<u8>)
Appends the payload after the command id.
Trait Implementations§
Source§impl Clone for ZwaveSoftwareReport
impl Clone for ZwaveSoftwareReport
Source§impl Debug for ZwaveSoftwareReport
impl Debug for ZwaveSoftwareReport
Source§impl Default for ZwaveSoftwareReport
impl Default for ZwaveSoftwareReport
impl Eq for ZwaveSoftwareReport
Source§impl From<ZwaveSoftwareReport> for Command
impl From<ZwaveSoftwareReport> for Command
Source§fn from(c: ZwaveSoftwareReport) -> Self
fn from(c: ZwaveSoftwareReport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ZwaveSoftwareReport
impl PartialEq for ZwaveSoftwareReport
impl StructuralPartialEq for ZwaveSoftwareReport
Auto Trait Implementations§
impl Freeze for ZwaveSoftwareReport
impl RefUnwindSafe for ZwaveSoftwareReport
impl Send for ZwaveSoftwareReport
impl Sync for ZwaveSoftwareReport
impl Unpin for ZwaveSoftwareReport
impl UnsafeUnpin for ZwaveSoftwareReport
impl UnwindSafe for ZwaveSoftwareReport
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