Skip to main content

eero_api/types/
mod.rs

1//! Data types for eero API requests and responses.
2//!
3//! All response types use `#[serde(flatten)] pub extra: HashMap<String, Value>`
4//! to capture unknown fields, making the library forward-compatible with new
5//! API fields without requiring code changes.
6//!
7//! Update types (e.g. [`network::NetworkUpdate`], [`eero::EeroUpdate`]) use
8//! `#[serde(skip_serializing_if = "Option::is_none")]` so only explicitly set
9//! fields are sent in the request body.
10
11pub mod account;
12pub mod activity;
13pub mod auth;
14pub mod device;
15pub mod diagnostic;
16pub mod eero;
17pub mod envelope;
18pub mod forward;
19pub mod network;
20pub mod profile;