sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
/// A USB device.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, PartialEq)]
pub struct UsbDevice {
    /// Bus number.
    pub bus: u8,
    /// Device address.
    pub device: u8,
    /// Vendor ID.
    pub vendor_id: u16,
    /// Product ID.
    pub product_id: u16,
    /// Manufacturer.
    pub manufacturer: Option<String>,
    /// Product name.
    pub product: Option<String>,
    /// Serial number.
    pub serial: Option<String>,
    /// Device class.
    pub class: u8,
    /// Link speed in Mbit/s.
    pub speed: Option<f32>,
    /// USB version.
    pub version: Option<String>,
    /// Bound driver.
    pub driver: Option<String>,
}