Struct firewire_dice_protocols::tcat::config_rom::Identifier
source · pub struct Identifier {
pub vendor_id: u32,
pub category: u8,
pub product_id: u16,
pub serial: u32,
}Expand description
Identifier in bus information block of Configuration ROM.
Fields§
§vendor_id: u32The numeric identifier of vendor, usually Organizationally Unique Identifier (OUI) registered in IEEE.
category: u8The numeric value of category.
product_id: u16The numeric identifier of product.
serial: u32The serial number.
Trait Implementations§
source§impl Clone for Identifier
impl Clone for Identifier
source§fn clone(&self) -> Identifier
fn clone(&self) -> Identifier
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 Identifier
impl Debug for Identifier
source§impl Default for Identifier
impl Default for Identifier
source§fn default() -> Identifier
fn default() -> Identifier
Returns the “default value” for a type. Read more
impl Copy for Identifier
Auto Trait Implementations§
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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