pub struct WriteMultipleRegistersResponse {
pub start_address: u16,
pub quantity: u16,
}Expand description
FC16 Write Multiple Registers response echoing the starting address and quantity.
Fields§
§start_address: u16Starting address of the registers that were written.
quantity: u16Number of registers written.
Implementations§
Trait Implementations§
Source§impl Clone for WriteMultipleRegistersResponse
impl Clone for WriteMultipleRegistersResponse
Source§fn clone(&self) -> WriteMultipleRegistersResponse
fn clone(&self) -> WriteMultipleRegistersResponse
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 WriteMultipleRegistersResponse
impl PartialEq for WriteMultipleRegistersResponse
Source§fn eq(&self, other: &WriteMultipleRegistersResponse) -> bool
fn eq(&self, other: &WriteMultipleRegistersResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WriteMultipleRegistersResponse
impl Eq for WriteMultipleRegistersResponse
impl StructuralPartialEq for WriteMultipleRegistersResponse
Auto Trait Implementations§
impl Freeze for WriteMultipleRegistersResponse
impl RefUnwindSafe for WriteMultipleRegistersResponse
impl Send for WriteMultipleRegistersResponse
impl Sync for WriteMultipleRegistersResponse
impl Unpin for WriteMultipleRegistersResponse
impl UnsafeUnpin for WriteMultipleRegistersResponse
impl UnwindSafe for WriteMultipleRegistersResponse
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