Struct 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

Vendor ID

Product ID

Serial number (arbitrary string)

Manufacturer (arbitrary string)

Product name (arbitrary string)

Trait Implementations

impl Debug for UsbPortInfo
[src]

Formats the value using the given formatter. Read more

impl Clone for UsbPortInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for UsbPortInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for UsbPortInfo
[src]

Auto Trait Implementations

impl Send for UsbPortInfo

impl Sync for UsbPortInfo