pub struct OwnedReadDiscreteInputsResponse {
pub byte_count: u8,
pub input_status: Bytes,
}Expand description
Owned variant of ReadDiscreteInputsResponse (FC 0x02).
Fields§
§byte_count: u8Number of data bytes that follow.
input_status: BytesBit-packed input status, LSB-first within each byte.
Implementations§
Source§impl OwnedReadDiscreteInputsResponse
impl OwnedReadDiscreteInputsResponse
Trait Implementations§
Source§impl Clone for OwnedReadDiscreteInputsResponse
impl Clone for OwnedReadDiscreteInputsResponse
Source§fn clone(&self) -> OwnedReadDiscreteInputsResponse
fn clone(&self) -> OwnedReadDiscreteInputsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for OwnedReadDiscreteInputsResponse
impl RefUnwindSafe for OwnedReadDiscreteInputsResponse
impl Send for OwnedReadDiscreteInputsResponse
impl Sync for OwnedReadDiscreteInputsResponse
impl Unpin for OwnedReadDiscreteInputsResponse
impl UnsafeUnpin for OwnedReadDiscreteInputsResponse
impl UnwindSafe for OwnedReadDiscreteInputsResponse
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