Struct cameleon::u3v::DeviceInfo
source · pub struct DeviceInfo {
pub gencp_version: Version,
pub u3v_version: Version,
pub guid: String,
pub vendor_name: String,
pub model_name: String,
pub family_name: Option<String>,
pub device_version: String,
pub manufacturer_info: String,
pub serial_number: String,
pub user_defined_name: Option<String>,
pub supported_speed: BusSpeed,
}
Expand description
Device information in class-specific device descriptor.
Fields§
§gencp_version: Version
GenCP version the device provides.
u3v_version: Version
USB3-Vision version the device provides.
guid: String
Device GUID consists of 12 characters. First 4 characters are vendor ID and last 8 characters are unique id assigned by a vendor.
vendor_name: String
Manufacturer name of the device.
model_name: String
Model name of the device.
family_name: Option<String>
A human readable name referring to multiple models of a single manufacturer.
device_version: String
Manufacturer specific device version. An application can’t make any assumptions of this version.
manufacturer_info: String
Manufacturer specific information. This field is optional.
serial_number: String
Serial number of the device.
user_defined_name: Option<String>
User defined name. This field is optional.
supported_speed: BusSpeed
Bus speed supported by the device.
Trait Implementations§
source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
Returns a copy 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 moresource§impl Debug for DeviceInfo
impl Debug for DeviceInfo
Auto Trait Implementations§
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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