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>
This commit is contained in:
@ -342,6 +342,7 @@ pub struct TapeBackupJobStatus {
|
||||
/// Filter for matching `BackupGroup`s, for use with `BackupGroup::filter`.
|
||||
pub enum GroupFilter {
|
||||
/// BackupGroup type - either `vm`, `ct`, or `host`.
|
||||
// FIXME: Should be `BackupType`
|
||||
BackupType(String),
|
||||
/// Full identifier of BackupGroup, including type
|
||||
Group(String),
|
||||
|
Reference in New Issue
Block a user