pub struct U3vDeviceInfo {
pub bus: u8,
pub address: u8,
pub vendor_id: u16,
pub product_id: u16,
pub serial: Option<String>,
pub manufacturer: Option<String>,
pub model: Option<String>,
pub interface_info: U3vInterfaceInfo,
}Expand description
Information about a discovered USB3 Vision device.
Fields§
§bus: u8USB bus number.
address: u8USB device address on the bus.
vendor_id: u16USB vendor ID.
product_id: u16USB product ID.
serial: Option<String>Device serial number (from USB string descriptor, if available).
manufacturer: Option<String>Manufacturer name (from USB string descriptor, if available).
model: Option<String>Product/model name (from USB string descriptor, if available).
interface_info: U3vInterfaceInfoParsed U3V interface and endpoint information.
Trait Implementations§
Source§impl Clone for U3vDeviceInfo
impl Clone for U3vDeviceInfo
Source§fn clone(&self) -> U3vDeviceInfo
fn clone(&self) -> U3vDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 U3vDeviceInfo
impl Debug for U3vDeviceInfo
Auto Trait Implementations§
impl Freeze for U3vDeviceInfo
impl RefUnwindSafe for U3vDeviceInfo
impl Send for U3vDeviceInfo
impl Sync for U3vDeviceInfo
impl Unpin for U3vDeviceInfo
impl UnsafeUnpin for U3vDeviceInfo
impl UnwindSafe for U3vDeviceInfo
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