mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-29 21:49:41 +00:00
![]() Object schemas can now declare a field which causes 'additional_properties' to be set to true and the field being ignored in the schema. This allows adding a flattened HashMap<String, Value> to gather the additional unspecified properties. #[api(additional_properties: "rest")] struct Something { #[serde(flatten)] rest: HashMap<String, Value>, } Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
src | ||
tests | ||
Cargo.toml |