pub struct ReadDeviceIdentificationResponse {
pub read_device_id_code: u8,
pub conformity_level: u8,
pub more_follows: bool,
pub next_object_id: u8,
pub objects: Vec<DeviceIdentificationObject>,
}Expand description
Response from FC43/0x0E (Read Device Identification).
Fields§
§read_device_id_code: u8The requested read device ID code (0x01 basic, 0x02 regular, 0x03 extended, 0x04 individual).
conformity_level: u8Conformity level of the device.
more_follows: booltrue if more objects are available in subsequent requests.
next_object_id: u8The object ID to request next when more_follows is true.
objects: Vec<DeviceIdentificationObject>The identification objects returned by the device.
Trait Implementations§
Source§impl Clone for ReadDeviceIdentificationResponse
impl Clone for ReadDeviceIdentificationResponse
Source§fn clone(&self) -> ReadDeviceIdentificationResponse
fn clone(&self) -> ReadDeviceIdentificationResponse
Returns a duplicate 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 PartialEq for ReadDeviceIdentificationResponse
impl PartialEq for ReadDeviceIdentificationResponse
Source§fn eq(&self, other: &ReadDeviceIdentificationResponse) -> bool
fn eq(&self, other: &ReadDeviceIdentificationResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadDeviceIdentificationResponse
impl StructuralPartialEq for ReadDeviceIdentificationResponse
Auto Trait Implementations§
impl Freeze for ReadDeviceIdentificationResponse
impl RefUnwindSafe for ReadDeviceIdentificationResponse
impl Send for ReadDeviceIdentificationResponse
impl Sync for ReadDeviceIdentificationResponse
impl Unpin for ReadDeviceIdentificationResponse
impl UnsafeUnpin for ReadDeviceIdentificationResponse
impl UnwindSafe for ReadDeviceIdentificationResponse
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