pub struct RelaySetValueEvent {
pub relay_address: u16,
pub transmitter_address: u16,
pub index: u8,
pub value: RelayValue,
}Fields§
§relay_address: u16§transmitter_address: u16§index: u8§value: RelayValueTrait Implementations§
Source§impl ConvertPacket<RelaySetValueEvent> for RelaySetValueEvent
impl ConvertPacket<RelaySetValueEvent> for RelaySetValueEvent
fn try_from_packet(packet: &Packet) -> Result<Self, ConvertPacketError>
fn to_packet(&self) -> Packet
Source§impl Debug for RelaySetValueEvent
impl Debug for RelaySetValueEvent
Source§impl Ord for RelaySetValueEvent
impl Ord for RelaySetValueEvent
Source§fn cmp(&self, other: &RelaySetValueEvent) -> Ordering
fn cmp(&self, other: &RelaySetValueEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RelaySetValueEvent
impl PartialEq for RelaySetValueEvent
Source§impl PartialOrd for RelaySetValueEvent
impl PartialOrd for RelaySetValueEvent
impl Eq for RelaySetValueEvent
impl StructuralPartialEq for RelaySetValueEvent
Auto Trait Implementations§
impl Freeze for RelaySetValueEvent
impl RefUnwindSafe for RelaySetValueEvent
impl Send for RelaySetValueEvent
impl Sync for RelaySetValueEvent
impl Unpin for RelaySetValueEvent
impl UnwindSafe for RelaySetValueEvent
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