pub struct DeviceIdObjectEntry<'buf> {
pub id: u8,
pub value: &'buf [u8],
}Expand description
A single identification object parsed from the response.
Fields§
§id: u8Object ID (0x00–0x06 standard, 0x80–0xFF vendor-specific).
value: &'buf [u8]Object value bytes (typically UTF-8 text).
Trait Implementations§
Source§impl<'buf> Clone for DeviceIdObjectEntry<'buf>
impl<'buf> Clone for DeviceIdObjectEntry<'buf>
Source§fn clone(&self) -> DeviceIdObjectEntry<'buf>
fn clone(&self) -> DeviceIdObjectEntry<'buf>
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<'buf> Copy for DeviceIdObjectEntry<'buf>
Source§impl<'buf> Debug for DeviceIdObjectEntry<'buf>
impl<'buf> Debug for DeviceIdObjectEntry<'buf>
impl<'buf> Eq for DeviceIdObjectEntry<'buf>
Source§impl<'buf> PartialEq for DeviceIdObjectEntry<'buf>
impl<'buf> PartialEq for DeviceIdObjectEntry<'buf>
Source§fn eq(&self, other: &DeviceIdObjectEntry<'buf>) -> bool
fn eq(&self, other: &DeviceIdObjectEntry<'buf>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'buf> StructuralPartialEq for DeviceIdObjectEntry<'buf>
Auto Trait Implementations§
impl<'buf> Freeze for DeviceIdObjectEntry<'buf>
impl<'buf> RefUnwindSafe for DeviceIdObjectEntry<'buf>
impl<'buf> Send for DeviceIdObjectEntry<'buf>
impl<'buf> Sync for DeviceIdObjectEntry<'buf>
impl<'buf> Unpin for DeviceIdObjectEntry<'buf>
impl<'buf> UnsafeUnpin for DeviceIdObjectEntry<'buf>
impl<'buf> UnwindSafe for DeviceIdObjectEntry<'buf>
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