pub struct VendorInfo {
pub vendor_id: u16,
pub vendor_name: String,
pub model_name: String,
pub firmware_revision: String,
pub application_software_version: String,
pub protocol_version: u16,
pub protocol_revision: u16,
}Expand description
Vendor and device identification.
Fields§
§vendor_id: u16§vendor_name: String§model_name: String§firmware_revision: String§application_software_version: String§protocol_version: u16§protocol_revision: u16Trait Implementations§
Source§impl Clone for VendorInfo
impl Clone for VendorInfo
Source§fn clone(&self) -> VendorInfo
fn clone(&self) -> VendorInfo
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 VendorInfo
impl RefUnwindSafe for VendorInfo
impl Send for VendorInfo
impl Sync for VendorInfo
impl Unpin for VendorInfo
impl UnsafeUnpin for VendorInfo
impl UnwindSafe for VendorInfo
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