Struct ti_sbl::ports::PortUsbInfo[][src]

pub struct PortUsbInfo {
    pub num_if: usize,
    pub vid: u16,
    pub pid: u16,
    pub serial: Option<String>,
    pub manufacturer: Option<String>,
    pub product: Option<String>,
    pub interface: Option<String>,
}

Information about USB serial ports.

Fields

num_if: usize

Number of interfaces in this device.

vid: u16

USB Vendor ID.

pid: u16

USB Product ID.

serial: Option<String>

Serial number string.

manufacturer: Option<String>

Device manufacturer.

product: Option<String>

Device product description.

interface: Option<String>

Device product interface.

Trait Implementations

impl Clone for PortUsbInfo[src]

impl Debug for PortUsbInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for PortUsbInfo

impl Send for PortUsbInfo

impl Sync for PortUsbInfo

impl Unpin for PortUsbInfo

impl UnwindSafe for PortUsbInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.