pub struct HotplugOptions {
pub vendor_id: Option<u16>,
pub product_id: Option<u16>,
pub class_code: Option<u8>,
pub enumerate: bool,
}Fields§
§vendor_id: Option<u16>§product_id: Option<u16>§class_code: Option<u8>§enumerate: boolTrait Implementations§
Source§impl Clone for HotplugOptions
impl Clone for HotplugOptions
Source§fn clone(&self) -> HotplugOptions
fn clone(&self) -> HotplugOptions
Returns a duplicate 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 HotplugOptions
impl Debug for HotplugOptions
Source§impl Default for HotplugOptions
impl Default for HotplugOptions
Source§fn default() -> HotplugOptions
fn default() -> HotplugOptions
Returns the “default value” for a type. Read more
impl Copy for HotplugOptions
Auto Trait Implementations§
impl Freeze for HotplugOptions
impl RefUnwindSafe for HotplugOptions
impl Send for HotplugOptions
impl Sync for HotplugOptions
impl Unpin for HotplugOptions
impl UnwindSafe for HotplugOptions
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