Struct govee_api::GoveeDevice
source · pub struct GoveeDevice {
pub device: String,
pub model: String,
pub deviceName: String,
pub controllable: bool,
pub retrievable: bool,
pub supportCmds: Vec<String>,
pub properties: Properties,
}Fields§
§device: String§model: String§deviceName: String§controllable: bool§retrievable: bool§supportCmds: Vec<String>§properties: PropertiesTrait Implementations§
source§impl Debug for GoveeDevice
impl Debug for GoveeDevice
source§impl<'de> Deserialize<'de> for GoveeDevice
impl<'de> Deserialize<'de> for GoveeDevice
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 RefUnwindSafe for GoveeDevice
impl Send for GoveeDevice
impl Sync for GoveeDevice
impl Unpin for GoveeDevice
impl UnwindSafe for GoveeDevice
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