mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-23 22:48:08 +00:00
api-types: derive Ord for BackupDir
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
7a98c5d50c
commit
b5708459d3
@ -930,7 +930,7 @@ impl std::str::FromStr for BackupGroup {
|
|||||||
/// Uniquely identify a Backup (relative to data store)
|
/// Uniquely identify a Backup (relative to data store)
|
||||||
///
|
///
|
||||||
/// We also call this a backup snaphost.
|
/// We also call this a backup snaphost.
|
||||||
#[derive(Clone, Debug, Eq, PartialEq, Deserialize, Serialize)]
|
#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Deserialize, Serialize)]
|
||||||
#[serde(rename_all = "kebab-case")]
|
#[serde(rename_all = "kebab-case")]
|
||||||
pub struct BackupDir {
|
pub struct BackupDir {
|
||||||
/// Backup group.
|
/// Backup group.
|
||||||
|
Loading…
Reference in New Issue
Block a user