Enum govee_api::GoveeDeviceProperty
source · pub enum GoveeDeviceProperty {
Online(bool),
PowerState(String),
Brightness(i16),
Color(Color),
ColorTem(i16),
ColorTemInKelvin(i16),
}Variants§
Trait Implementations§
source§impl Debug for GoveeDeviceProperty
impl Debug for GoveeDeviceProperty
source§impl<'de> Deserialize<'de> for GoveeDeviceProperty
impl<'de> Deserialize<'de> for GoveeDeviceProperty
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
source§impl PartialEq<GoveeDeviceProperty> for GoveeDeviceProperty
impl PartialEq<GoveeDeviceProperty> for GoveeDeviceProperty
source§fn eq(&self, other: &GoveeDeviceProperty) -> bool
fn eq(&self, other: &GoveeDeviceProperty) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GoveeDeviceProperty
impl Serialize for GoveeDeviceProperty
impl StructuralPartialEq for GoveeDeviceProperty
Auto Trait Implementations§
impl RefUnwindSafe for GoveeDeviceProperty
impl Send for GoveeDeviceProperty
impl Sync for GoveeDeviceProperty
impl Unpin for GoveeDeviceProperty
impl UnwindSafe for GoveeDeviceProperty
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