pub struct TPLinkSmartLightData {
pub alias: String,
pub light_state: LightState,
pub is_dimmable: u8,
pub is_color: u8,
pub ip: Option<IpAddr>,
}Fields§
§alias: String§light_state: LightState§is_dimmable: u8§is_color: u8§ip: Option<IpAddr>Trait Implementations§
Source§impl Clone for TPLinkSmartLightData
impl Clone for TPLinkSmartLightData
Source§impl Debug for TPLinkSmartLightData
impl Debug for TPLinkSmartLightData
Source§impl<'de> Deserialize<'de> for TPLinkSmartLightData
impl<'de> Deserialize<'de> for TPLinkSmartLightData
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
Auto Trait Implementations§
impl Freeze for TPLinkSmartLightData
impl RefUnwindSafe for TPLinkSmartLightData
impl Send for TPLinkSmartLightData
impl Sync for TPLinkSmartLightData
impl Unpin for TPLinkSmartLightData
impl UnsafeUnpin for TPLinkSmartLightData
impl UnwindSafe for TPLinkSmartLightData
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