[][src]Module huelib::resource

Module for bridge resources.

Re-exports

pub use capabilities::Capabilities;
pub use config::Config;
pub use group::Group;
pub use light::Light;
pub use resourcelink::Resourcelink;
pub use rule::Rule;
pub use scene::Scene;
pub use schedule::Schedule;
pub use sensor::Sensor;

Modules

capabilities

Bindings to the Capabilities API.

config

Bindings to the Configuration API.

group

Bindings to the Groups API.

light

Bindings to the Lights API.

resourcelink

Bindings to the Resourcelinks API.

rule

Bindings to the Rules API.

scene

Bindings to the Scenes API.

schedule

Bindings to the Schedules API.

sensor

Bindings to the Sensors API.

Structs

Action

Action of a schedule or rule.

Scan

Struct for new resources that were scanned by the bridge.

ScanResource

Information about a resource that is returned from a scan.

Enums

ActionRequestType

Request type of an action.

Alert

Alert effect of a light.

ColorMode

Color mode of a light.

Effect

Dynamic effect of a light.

LastScan

Status of the last scan for a new resource type.

ModifierType

Type of a modifier.

Traits

Creator

Trait for creators.

Modifier

Trait for modifiers.

Resource

Trait for resources.