[][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

Scan

Struct for new resources that were scanned by the bridge.

ScanResource

Information about a resource that is returned from a scan.

Enums

Adjust

Enum for adjusting an attribute of a modifier or creator.

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.

RequestMethod

Represents a HTTP method.

Traits

Creator

Trait for creating a resource.

Modifier

Trait for modifying a resource.

Resource

Marker trait for resources.

Scanner

Trait for scanning new resources.