]> git.proxmox.com Git - proxmox-backup.git/commit
api-types: datastore type improvements
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 19 Apr 2022 10:11:16 +0000 (12:11 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 20 Apr 2022 08:03:39 +0000 (10:03 +0200)
commitb444eb68afd051869f28ade8f671abca658a92d3
tree141aa41c09835bc1f681bddd00052453c6fc95ed
parent2d5c20c8f598a609c91ae33ab3ee1bfdf5465bd2
api-types: datastore type improvements

let BackupGroup implement Hash

let BackupGroup and BackupDir be AsRef<BackupGroup>
let BackupDir be AsRef<BackupDir>

the pbs-datastore types will implement these AsRefs as well

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
pbs-api-types/src/datastore.rs
pbs-api-types/src/jobs.rs