mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 07:17:42 +00:00
changer config cleanup: use Updater
This commit is contained in:
parent
3d9b2c8fd5
commit
56d4dc1034
@ -10,6 +10,7 @@ use proxmox::api::{
|
|||||||
ArraySchema,
|
ArraySchema,
|
||||||
IntegerSchema,
|
IntegerSchema,
|
||||||
StringSchema,
|
StringSchema,
|
||||||
|
Updater,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -62,10 +63,11 @@ Import/Export, i.e. any media in those slots are considered to be
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
)]
|
)]
|
||||||
#[derive(Serialize,Deserialize)]
|
#[derive(Serialize,Deserialize,Updater)]
|
||||||
#[serde(rename_all = "kebab-case")]
|
#[serde(rename_all = "kebab-case")]
|
||||||
/// SCSI tape changer
|
/// SCSI tape changer
|
||||||
pub struct ScsiTapeChanger {
|
pub struct ScsiTapeChanger {
|
||||||
|
#[updater(skip)]
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub path: String,
|
pub path: String,
|
||||||
#[serde(skip_serializing_if="Option::is_none")]
|
#[serde(skip_serializing_if="Option::is_none")]
|
||||||
|
Loading…
Reference in New Issue
Block a user