pub struct DeviceDescription {
pub vendor_id: u16,
pub product_id: u16,
pub name: Option<&'static str>,
pub manufacturer: Option<String>,
pub product: Option<String>,
}Fields§
§vendor_id: u16§product_id: u16§name: Option<&'static str>§manufacturer: Option<String>§product: Option<String>Trait Implementations§
Source§impl Clone for DeviceDescription
impl Clone for DeviceDescription
Source§impl Debug for DeviceDescription
impl Debug for DeviceDescription
impl Eq for DeviceDescription
Source§impl PartialEq for DeviceDescription
impl PartialEq for DeviceDescription
impl StructuralPartialEq for DeviceDescription
Auto Trait Implementations§
impl Freeze for DeviceDescription
impl RefUnwindSafe for DeviceDescription
impl Send for DeviceDescription
impl Sync for DeviceDescription
impl Unpin for DeviceDescription
impl UnsafeUnpin for DeviceDescription
impl UnwindSafe for DeviceDescription
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more