cleanup: tape_backup_job.rs - do not use #[allow(non_camel_case_types)]

This commit is contained in:
Dietmar Maurer 2021-02-15 10:39:39 +01:00
parent adb65b9889
commit fe291ab794
1 changed files with 4 additions and 5 deletions

View File

@ -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(