]> git.proxmox.com Git - proxmox-backup.git/commit
api types: implement api type for `BackupGroupDeleteStats`
authorChristian Ebner <c.ebner@proxmox.com>
Mon, 11 Nov 2024 15:43:34 +0000 (16:43 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 21 Nov 2024 09:14:53 +0000 (10:14 +0100)
commitf982c915f5be852255081c7a05bd4191ad80c09f
treec9fd6e5e3f35961d8fc755fdd0644c886d09dc6f
parentd1e5e4533c7ecda08986f221463fe575c6fcb404
api types: implement api type for `BackupGroupDeleteStats`

Make the `BackupGroupDeleteStats` exposable via the API by implementing
the ApiTypes trait via the api macro invocation and add an additional
field to account for the number of deleted groups.
Further, add a method to add up the statistics.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
pbs-api-types/src/datastore.rs