pub struct ReadDeviceIdentificationResponse {
pub read_code: ReadCode,
pub conformity_level: ConformityLevel,
pub more_follows: MoreFollows,
pub next_object_id: NextObjectId,
pub device_id_objects: DeviceIdObjects,
}Expand description
Types Response data returned from a Modbus “Read Device Identification” request (0x2B/0x0E).
Fields§
§read_code: ReadCodeIndicates the type of Read Device Identification request that was performed.
conformity_level: ConformityLevelIndicates the level of conformity supported by the device for identification.
more_follows: MoreFollowsSignals whether additional identification objects are available.
next_object_id: NextObjectIdSpecifies the next object ID to request if more_follows is true.
device_id_objects: DeviceIdObjectsThe list of device ID objects returned in this response.
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 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