Struct huelib::resource::light::Config [−][src]
pub struct Config {
pub arche_type: String,
pub function: String,
pub direction: String,
pub startup: Option<StartupConfig>,
}
Expand description
Configuration of a light.
Fields
arche_type: String
Arche type of the light.
function: String
Function of the light.
direction: String
Direction of the light.
startup: Option<StartupConfig>
Startup configuration of the light.
Trait Implementations
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 Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more