Expand description
The settings store: typed settings models stored as one JSON blob per code.
A settings model is a plain serde struct, stored as one JSON value keyed by a stable code, with compile-time-typed access. A generic, untyped get/set is also provided for the settings controller, which renders and saves any registered settings item without knowing its concrete type. The JSON is stored as text, so the store is portable across backends.
Enums§
Traits§
- Settings
Model - A settings model: a serde struct with a stable storage code and a default.