pub struct ModbusMasterReadDiscreteInputsResponseResult {
pub request_id: u8,
pub exception_code: i8,
}
Fields
request_id: u8
exception_code: i8
Trait Implementations
sourceimpl Clone for ModbusMasterReadDiscreteInputsResponseResult
impl Clone for ModbusMasterReadDiscreteInputsResponseResult
sourcefn clone(&self) -> ModbusMasterReadDiscreteInputsResponseResult
fn clone(&self) -> ModbusMasterReadDiscreteInputsResponseResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for ModbusMasterReadDiscreteInputsResponseResult
impl Default for ModbusMasterReadDiscreteInputsResponseResult
sourcefn default() -> ModbusMasterReadDiscreteInputsResponseResult
fn default() -> ModbusMasterReadDiscreteInputsResponseResult
Returns the “default value” for a type. Read more
sourceimpl 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
sourceimpl PartialEq<ModbusMasterReadDiscreteInputsResponseResult> for ModbusMasterReadDiscreteInputsResponseResult
impl PartialEq<ModbusMasterReadDiscreteInputsResponseResult> for ModbusMasterReadDiscreteInputsResponseResult
sourcefn eq(&self, other: &ModbusMasterReadDiscreteInputsResponseResult) -> bool
fn eq(&self, other: &ModbusMasterReadDiscreteInputsResponseResult) -> bool
impl Copy for ModbusMasterReadDiscreteInputsResponseResult
impl Eq for ModbusMasterReadDiscreteInputsResponseResult
impl StructuralEq for ModbusMasterReadDiscreteInputsResponseResult
impl StructuralPartialEq for ModbusMasterReadDiscreteInputsResponseResult
Auto Trait Implementations
impl RefUnwindSafe for ModbusMasterReadDiscreteInputsResponseResult
impl Send for ModbusMasterReadDiscreteInputsResponseResult
impl Sync for ModbusMasterReadDiscreteInputsResponseResult
impl Unpin for ModbusMasterReadDiscreteInputsResponseResult
impl UnwindSafe for ModbusMasterReadDiscreteInputsResponseResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more