cleanup: tape_backup_job.rs - do not use #[allow(non_camel_case_types)]
This commit is contained in:
parent
adb65b9889
commit
fe291ab794
|
@ -107,17 +107,16 @@ pub fn read_tape_backup_job(
|
||||||
#[api()]
|
#[api()]
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Serialize, Deserialize)]
|
||||||
#[serde(rename_all="kebab-case")]
|
#[serde(rename_all="kebab-case")]
|
||||||
#[allow(non_camel_case_types)]
|
|
||||||
/// Deletable property name
|
/// Deletable property name
|
||||||
pub enum DeletableProperty {
|
pub enum DeletableProperty {
|
||||||
/// Delete the comment property.
|
/// Delete the comment property.
|
||||||
comment,
|
Comment,
|
||||||
/// Delete the job schedule.
|
/// Delete the job schedule.
|
||||||
schedule,
|
Schedule,
|
||||||
/// Delete the eject-media property
|
/// Delete the eject-media property
|
||||||
eject_media,
|
EjectMedia,
|
||||||
/// Delete the export-media-set property
|
/// Delete the export-media-set property
|
||||||
export_media_set,
|
ExportMediaSet,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[api(
|
#[api(
|
||||||
|
|
Loading…
Reference in New Issue