pub struct ModbusMasterReadDiscreteInputsResponseLowLevelEvent {
pub request_id: u8,
pub exception_code: i8,
pub discrete_inputs_length: u16,
pub discrete_inputs_chunk_offset: u16,
pub discrete_inputs_chunk_data: [bool; 464],
}
Fields§
§request_id: u8
§exception_code: i8
§discrete_inputs_length: u16
§discrete_inputs_chunk_offset: u16
§discrete_inputs_chunk_data: [bool; 464]
Trait Implementations§
Source§impl Clone for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl Clone for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
Source§fn clone(&self) -> ModbusMasterReadDiscreteInputsResponseLowLevelEvent
fn clone(&self) -> ModbusMasterReadDiscreteInputsResponseLowLevelEvent
Returns a copy 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 FromByteSlice for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl FromByteSlice for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(
bytes: &[u8],
) -> ModbusMasterReadDiscreteInputsResponseLowLevelEvent
fn from_le_byte_slice( bytes: &[u8], ) -> ModbusMasterReadDiscreteInputsResponseLowLevelEvent
Deserialize the implementing type from a byte slice.
Source§impl LowLevelRead<bool, ModbusMasterReadDiscreteInputsResponseResult> for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl LowLevelRead<bool, ModbusMasterReadDiscreteInputsResponseResult> for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
fn ll_message_length(&self) -> usize
fn ll_message_chunk_offset(&self) -> usize
fn ll_message_chunk_data(&self) -> &[bool]
fn get_result(&self) -> ModbusMasterReadDiscreteInputsResponseResult
impl Copy for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
Auto Trait Implementations§
impl Freeze for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl RefUnwindSafe for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl Send for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl Sync for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl Unpin for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
impl UnwindSafe for ModbusMasterReadDiscreteInputsResponseLowLevelEvent
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