pub struct DeviceIdentificationResponse {
pub read_device_id_code: ReadDeviceIdCode,
pub conformity_level: ConformityLevel,
pub more_follows: bool,
pub next_object_id: ObjectId,
pub objects_data: [u8; 252],
pub number_of_objects: u8,
}Expand description
Represents a response to a Read Device Identification request (FC 43 / MEI 0E).
Fields§
§read_device_id_code: ReadDeviceIdCodeThe code defining the type of access.
conformity_level: ConformityLevelThe conformity level of the response.
more_follows: boolIndicates if there are more objects to follow.
next_object_id: ObjectIdThe ID of the next object in the response.
objects_data: [u8; 252]The raw data of the objects.
number_of_objects: u8The number of objects returned in the response.
Implementations§
Source§impl DeviceIdentificationResponse
impl DeviceIdentificationResponse
Sourcepub fn objects(&self) -> DeviceIdObjectIterator<'_> ⓘ
pub fn objects(&self) -> DeviceIdObjectIterator<'_> ⓘ
Returns an iterator over the device identification objects.
Trait Implementations§
Source§impl Clone for DeviceIdentificationResponse
impl Clone for DeviceIdentificationResponse
Source§fn clone(&self) -> DeviceIdentificationResponse
fn clone(&self) -> DeviceIdentificationResponse
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 Debug for DeviceIdentificationResponse
impl Debug for DeviceIdentificationResponse
Source§impl PartialEq for DeviceIdentificationResponse
impl PartialEq for DeviceIdentificationResponse
Source§fn eq(&self, other: &DeviceIdentificationResponse) -> bool
fn eq(&self, other: &DeviceIdentificationResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceIdentificationResponse
Auto Trait Implementations§
impl Freeze for DeviceIdentificationResponse
impl RefUnwindSafe for DeviceIdentificationResponse
impl Send for DeviceIdentificationResponse
impl Sync for DeviceIdentificationResponse
impl Unpin for DeviceIdentificationResponse
impl UnsafeUnpin for DeviceIdentificationResponse
impl UnwindSafe for DeviceIdentificationResponse
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