Struct huelib::resource::capabilities::RulesInfo [−][src]
pub struct RulesInfo {
pub available: usize,
pub total: usize,
pub conditions: Info,
pub actions: Info,
}
Expand description
Info about the capability of rules.
Fields
available: usize
Number of currently available rules.
total: usize
Total number of available rules.
conditions: Info
Capabilities of conditions.
actions: Info
Capabilities of actions.
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 RulesInfo
impl UnwindSafe for RulesInfo
Blanket Implementations
Mutably borrows from an owned value. Read more