pub struct RemoteStatusB {
pub address: u32,
pub unit: u8,
pub switch_to: u8,
pub dim_value: u8,
pub repeats: u16,
}
Fields§
§address: u32
§unit: u8
§switch_to: u8
§dim_value: u8
§repeats: u16
Trait Implementations§
source§impl Clone for RemoteStatusB
impl Clone for RemoteStatusB
source§fn clone(&self) -> RemoteStatusB
fn clone(&self) -> RemoteStatusB
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 RemoteStatusB
impl Debug for RemoteStatusB
source§impl Default for RemoteStatusB
impl Default for RemoteStatusB
source§fn default() -> RemoteStatusB
fn default() -> RemoteStatusB
Returns the “default value” for a type. Read more
source§impl FromByteSlice for RemoteStatusB
impl FromByteSlice for RemoteStatusB
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> RemoteStatusB
fn from_le_byte_slice(bytes: &[u8]) -> RemoteStatusB
Deserialize the implementing type from a byte slice.
source§impl Hash for RemoteStatusB
impl Hash for RemoteStatusB
source§impl PartialEq for RemoteStatusB
impl PartialEq for RemoteStatusB
source§fn eq(&self, other: &RemoteStatusB) -> bool
fn eq(&self, other: &RemoteStatusB) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RemoteStatusB
impl Eq for RemoteStatusB
impl StructuralPartialEq for RemoteStatusB
Auto Trait Implementations§
impl RefUnwindSafe for RemoteStatusB
impl Send for RemoteStatusB
impl Sync for RemoteStatusB
impl Unpin for RemoteStatusB
impl UnwindSafe for RemoteStatusB
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