pub struct Udpn {
pub send: Option<bool>,
pub recv: Option<bool>,
pub sgrp: Option<u8>,
pub rgrp: Option<u8>,
pub nn: Option<bool>,
}
Fields§
§send: Option<bool>
Send WLED broadcast (UDP sync) packet on state change
recv: Option<bool>
Receive broadcast packets
sgrp: Option<u8>
Bitfield for broadcast send groups 1-8
rgrp: Option<u8>
Bitfield for broadcast receive groups 1-8
nn: Option<bool>
Don’t send a broadcast packet (applies to just the current API call). Not included in state response.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Udpn
impl<'de> Deserialize<'de> for Udpn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Udpn
Auto Trait Implementations§
impl Freeze for Udpn
impl RefUnwindSafe for Udpn
impl Send for Udpn
impl Sync for Udpn
impl Unpin for Udpn
impl UnwindSafe for Udpn
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