Module lifxi::http::prelude

source ·
Expand description

Contains useful utilities for working with the LIFX HTTP API.

Use the prelude to maintain the convenience of glob importing without overly polluting the namespace.

Usage

use lifxi::http::prelude::*;

Structs

The crux of the HTTP API. Start here.
Encodes a desired final state.
Encodes a desired state change.

Enums

Specifies the desired color setting of a light.
Represents an error encountered while deserializing a color.
Represents a (local) color validation error.
Selectors are used to identify one or more lights belonging to a particular account.
Represents a selector deserialization error.

Traits

Enables chaining of non-randomized selectors.
Enables randomization of non-randomized selectors.
Trait enabling retrying of failed requests.
Trait for configurable (non-terminal) requests to be sent conveniently.