Struct razberry::response::GatewayState [] [src]

pub struct GatewayState { /* fields omitted */ }

A response from Razberry's /ZWaveAPI/Data endpoint. These responses contain the entire state of the gateway at the time of the request.

Methods

impl GatewayState
[src]

Build from a raw JSON string.

Get a reference to the underlying Json.

Get the end of the state change range.

TODO DOC

Get "burglar alarm" sensor data from the results, if present.

Get the "general purpose" (0x01) binary sensor (0x30) data, if present.

Trait Implementations

impl Clone for GatewayState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more