From fe291ab794a593d700dce94850394027e56127ea Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 15 Feb 2021 10:39:39 +0100 Subject: [PATCH] cleanup: tape_backup_job.rs - do not use #[allow(non_camel_case_types)] --- src/api2/config/tape_backup_job.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/api2/config/tape_backup_job.rs b/src/api2/config/tape_backup_job.rs index 718f19a1..8b898bf8 100644 --- a/src/api2/config/tape_backup_job.rs +++ b/src/api2/config/tape_backup_job.rs @@ -107,17 +107,16 @@ pub fn read_tape_backup_job( #[api()] #[derive(Serialize, Deserialize)] #[serde(rename_all="kebab-case")] -#[allow(non_camel_case_types)] /// Deletable property name pub enum DeletableProperty { /// Delete the comment property. - comment, + Comment, /// Delete the job schedule. - schedule, + Schedule, /// Delete the eject-media property - eject_media, + EjectMedia, /// Delete the export-media-set property - export_media_set, + ExportMediaSet, } #[api(