pub struct Report {
pub library_type: u8,
pub protocol_version: u8,
pub protocol_sub_version: u8,
pub firmware_version: u8,
pub firmware_sub_version: u8,
pub hardware_version: Option<u8>,
pub firmware_targets: Option<u8>,
pub target_versions: Vec<u8>,
}Expand description
Version Report (0x86 0x12).
Fields§
§library_type: u8The library_type field.
protocol_version: u8The protocol_version field.
protocol_sub_version: u8The protocol_sub_version field.
firmware_version: u8The firmware_version field.
firmware_sub_version: u8The firmware_sub_version field.
hardware_version: Option<u8>The hardware_version field.
firmware_targets: Option<u8>The firmware_targets field.
target_versions: Vec<u8>The target_versions field.
Implementations§
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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