pub struct Hue {
pub en: Option<bool>,
pub id: Option<u8>,
pub iv: Option<u16>,
pub recv: Option<Recv2>,
pub ip: Option<[u8; 4]>,
}
Fields§
§en: Option<bool>
poll hue bridge for light state
id: Option<u8>
ID of hue lamp to sync to. Find the ID in the hue app (“about” section)
iv: Option<u16>
(low values (< 1sec) may cause lag but offer quicker response) / 100
recv: Option<Recv2>
hue receiver info
ip: Option<[u8; 4]>
hue IP
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hue
impl<'de> Deserialize<'de> for Hue
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 Hue
Auto Trait Implementations§
impl Freeze for Hue
impl RefUnwindSafe for Hue
impl Send for Hue
impl Sync for Hue
impl Unpin for Hue
impl UnwindSafe for Hue
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