[−][src]Struct sysfs_serde::usb_attributes::UsbAttributes
De-serialized /sys/class/bus/usb to a Rust structure. Note unknown fields are stored in raw format in the attributes: HashMap<String, String>
Fields
num_endpoints: u8
num_configurations: u8
num_interfaces: u8
interface_class: u8
interface_number: u8
interface_protocol: u8
alternate_setting: u8
interface_subclass: u8
max_packet_size0: u16
supports_autosuspend: u8
modalias: String
id_product: Option<String>
id_vendor: Option<String>
bus_num: u8
dev_num: u8
product: String
manufacturer: String
serial: String
uevent: Option<UEvent>
descriptors: Vec<u8>
attributes: HashMap<String, String>
Trait Implementations
impl Default for UsbAttributes
[src]
fn default() -> UsbAttributes
[src]
impl Serialize for UsbAttributes
[src]
Auto Trait Implementations
impl RefUnwindSafe for UsbAttributes
impl Send for UsbAttributes
impl Sync for UsbAttributes
impl Unpin for UsbAttributes
impl UnwindSafe for UsbAttributes
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,