pub struct SlaveCommand {
pub kind: SlaveCommandKind,
pub address: Address,
}
Expand description
The command kind to the slave from the master and the address that the slave matched
Fields§
§kind: SlaveCommandKind
The kind of command
address: Address
The address that the slave matched
Trait Implementations§
Source§impl Clone for SlaveCommand
impl Clone for SlaveCommand
Source§fn clone(&self) -> SlaveCommand
fn clone(&self) -> SlaveCommand
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 Debug for SlaveCommand
impl Debug for SlaveCommand
Source§impl Format for SlaveCommand
impl Format for SlaveCommand
Source§impl PartialEq for SlaveCommand
impl PartialEq for SlaveCommand
impl Eq for SlaveCommand
impl StructuralPartialEq for SlaveCommand
Auto Trait Implementations§
impl Freeze for SlaveCommand
impl RefUnwindSafe for SlaveCommand
impl Send for SlaveCommand
impl Sync for SlaveCommand
impl Unpin for SlaveCommand
impl UnwindSafe for SlaveCommand
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