Struct ferrous_serialport::UsbPortInfo [−][src]
pub struct UsbPortInfo { pub vid: u16, pub pid: u16, pub serial_number: Option<String>, pub manufacturer: Option<String>, pub product: Option<String>, }
Contains all possible USB information about a SerialPort
Fields
vid: u16
Vendor ID
pid: u16
Product ID
serial_number: Option<String>
Serial number (arbitrary string)
manufacturer: Option<String>
Manufacturer (arbitrary string)
product: Option<String>
Product name (arbitrary string)
Trait Implementations
impl Clone for UsbPortInfo
[src]
impl Clone for UsbPortInfo
[src]fn clone(&self) -> UsbPortInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for UsbPortInfo
[src]
impl Eq for UsbPortInfo
[src]impl PartialEq<UsbPortInfo> for UsbPortInfo
[src]
impl PartialEq<UsbPortInfo> for UsbPortInfo
[src]fn eq(&self, other: &UsbPortInfo) -> bool
[src]
fn ne(&self, other: &UsbPortInfo) -> bool
[src]
impl StructuralEq for UsbPortInfo
[src]
impl StructuralEq for UsbPortInfo
[src]impl StructuralPartialEq for UsbPortInfo
[src]
impl StructuralPartialEq for UsbPortInfo
[src]Auto Trait Implementations
impl RefUnwindSafe for UsbPortInfo
impl RefUnwindSafe for UsbPortInfo
impl Send for UsbPortInfo
impl Send for UsbPortInfo
impl Sync for UsbPortInfo
impl Sync for UsbPortInfo
impl Unpin for UsbPortInfo
impl Unpin for UsbPortInfo
impl UnwindSafe for UsbPortInfo
impl UnwindSafe for UsbPortInfo