Skip to main content

Crate azzurro

Crate azzurro 

Source
Expand description

azzurro — Rust parsing library for the ZCS Azzurro Portal API.

Provides request builders and response types for the three API endpoints: historicData, realtimeData, and deviceAlarm.

This crate handles JSON serialization/deserialization only. HTTP transport (POST to https://third.zcsazzurroportal.com:19003/ with Authorization: Zcs <token>) is left to the caller.

Structs§

DeviceAlarmCommand
DeviceAlarmData
Alarm status for a single device.
DeviceAlarmParams
DeviceAlarmRequest
Top-level POST body for a deviceAlarm request.
DeviceAlarmResponse
Top-level response body for a deviceAlarm request.
DeviceAlarmResult
DeviceAlarmResultParams
HistoricCommand
HistoricDeviceData
Time-series measurements for a single device over the queried window.
HistoricParams
HistoricRequest
Top-level POST body for a historicData request.
HistoricResponse
Top-level response body for a historicData request.
HistoricResult
HistoricResultParams
RealtimeCommand
RealtimeDeviceData
Latest snapshot measurements for a single device.
RealtimeParams
RealtimeRequest
Top-level POST body for a realtimeData request.
RealtimeResponse
Top-level response body for a realtimeData request.
RealtimeResult
RealtimeResultParams

Enums§

RequiredValues
Selects which measurement fields to include in the response.