pub struct DeviceId {
pub vendor_id_source: u16,
pub vendor_id: u16,
pub product_id: u16,
pub version: u16,
}Expand description
The Device ID AD type (EIR): who made the device and which product it is.
Fields§
§vendor_id_source: u161: Bluetooth SIG company identifier, 2: USB Implementer’s Forum vendor id.
vendor_id: u16The vendor.
product_id: u16The product.
version: u16The product version.
Trait Implementations§
impl Copy for DeviceId
impl Eq for DeviceId
impl StructuralPartialEq for DeviceId
Auto Trait Implementations§
impl Freeze for DeviceId
impl RefUnwindSafe for DeviceId
impl Send for DeviceId
impl Sync for DeviceId
impl Unpin for DeviceId
impl UnsafeUnpin for DeviceId
impl UnwindSafe for DeviceId
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