pub struct WriteSingleRegisterResponse {
pub address: u16,
pub value: u16,
}Expand description
FC06 Write Single Register response echoing the written address and value.
Fields§
§address: u16Address of the register that was written.
value: u16Value written to the register.
Implementations§
Trait Implementations§
Source§impl Clone for WriteSingleRegisterResponse
impl Clone for WriteSingleRegisterResponse
Source§fn clone(&self) -> WriteSingleRegisterResponse
fn clone(&self) -> WriteSingleRegisterResponse
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 Debug for WriteSingleRegisterResponse
impl Debug for WriteSingleRegisterResponse
impl Copy for WriteSingleRegisterResponse
impl Eq for WriteSingleRegisterResponse
impl StructuralPartialEq for WriteSingleRegisterResponse
Auto Trait Implementations§
impl Freeze for WriteSingleRegisterResponse
impl RefUnwindSafe for WriteSingleRegisterResponse
impl Send for WriteSingleRegisterResponse
impl Sync for WriteSingleRegisterResponse
impl Unpin for WriteSingleRegisterResponse
impl UnsafeUnpin for WriteSingleRegisterResponse
impl UnwindSafe for WriteSingleRegisterResponse
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