pub struct UsbControlAttachedDevice {
pub port: u8,
pub vendor_id: u16,
pub product_id: u16,
}Fields§
§port: u8§vendor_id: u16§product_id: u16Implementations§
Trait Implementations§
Source§impl Clone for UsbControlAttachedDevice
impl Clone for UsbControlAttachedDevice
Source§fn clone(&self) -> UsbControlAttachedDevice
fn clone(&self) -> UsbControlAttachedDevice
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UsbControlAttachedDevice
impl Debug for UsbControlAttachedDevice
Source§impl Default for UsbControlAttachedDevice
impl Default for UsbControlAttachedDevice
Source§fn default() -> UsbControlAttachedDevice
fn default() -> UsbControlAttachedDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsbControlAttachedDevice
impl<'de> Deserialize<'de> for UsbControlAttachedDevice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UsbControlAttachedDevice
impl Serialize for UsbControlAttachedDevice
impl Copy for UsbControlAttachedDevice
Auto Trait Implementations§
impl Freeze for UsbControlAttachedDevice
impl RefUnwindSafe for UsbControlAttachedDevice
impl Send for UsbControlAttachedDevice
impl Sync for UsbControlAttachedDevice
impl Unpin for UsbControlAttachedDevice
impl UnwindSafe for UsbControlAttachedDevice
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