pub struct PciId {
pub vendor: u32,
pub model: u32,
}
Expand description
A PCI ID.
PCI IDs can be used to identify a hardware component. See the Debian documentation.
Fields§
§vendor: u32
§model: u32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PciId
impl<'de> Deserialize<'de> for PciId
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
impl Copy for PciId
impl Eq for PciId
impl StructuralPartialEq for PciId
Auto Trait Implementations§
impl Freeze for PciId
impl RefUnwindSafe for PciId
impl Send for PciId
impl Sync for PciId
impl Unpin for PciId
impl UnwindSafe for PciId
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