]> git.proxmox.com Git - proxmox.git/commit
api-macro: add VariantAttrib
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 6 Dec 2023 12:53:48 +0000 (13:53 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 6 Dec 2023 13:39:47 +0000 (14:39 +0100)
commit89b29415a44069f27e24b532c7b8fcfd89371179
treed2a5cec68b95ea3e180dede392deda03c862be87
parentfa9a50a0b7be6faf4317611e2ad6d79bda948fde
api-macro: add VariantAttrib

separated out of FieldAttrib without the `flatten` attribute, since we
don't support this on enum variants

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