]> git.proxmox.com Git - proxmox.git/commit
api-macro: make skip_serializing_if without default an error
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 6 Dec 2023 13:38:04 +0000 (14:38 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 6 Dec 2023 13:39:47 +0000 (14:39 +0100)
commit2435ab29e298ca5148f5e5feb2a8e644af1fe150
tree7226302fb9769da586530250ffa145396525fa38
parent89b29415a44069f27e24b532c7b8fcfd89371179
api-macro: make skip_serializing_if without default an error

except for Option types, since this causes deserialization issues

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-api-macro/src/api/structs.rs
proxmox-api-macro/src/serde.rs