#[repr(u8)]pub enum RegularObjectId {
VendorUrl = 3,
ProductName = 4,
ModelName = 5,
UserApplicationName = 6,
}Expand description
Object IDs for Regular Device Identification.
These objects are optional but defined in the standard. Access type: Stream (ReadDeviceIdCode 0x02, 0x03) or Individual (ReadDeviceIdCode 0x04).
Variants§
VendorUrl = 3
Vendor URL (Optional). Object ID 0x03.
ProductName = 4
Product Name (Optional). Object ID 0x04.
ModelName = 5
Model Name (Optional). Object ID 0x05.
UserApplicationName = 6
User Application Name (Optional). Object ID 0x06.
Trait Implementations§
Source§impl Clone for RegularObjectId
impl Clone for RegularObjectId
Source§fn clone(&self) -> RegularObjectId
fn clone(&self) -> RegularObjectId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegularObjectId
Source§impl Debug for RegularObjectId
impl Debug for RegularObjectId
impl Eq for RegularObjectId
Source§impl PartialEq for RegularObjectId
impl PartialEq for RegularObjectId
Source§fn eq(&self, other: &RegularObjectId) -> bool
fn eq(&self, other: &RegularObjectId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegularObjectId
Auto Trait Implementations§
impl Freeze for RegularObjectId
impl RefUnwindSafe for RegularObjectId
impl Send for RegularObjectId
impl Sync for RegularObjectId
impl Unpin for RegularObjectId
impl UnsafeUnpin for RegularObjectId
impl UnwindSafe for RegularObjectId
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