diff --git a/proxmox-rrd/src/api_types.rs b/proxmox-rrd/src/api_types.rs index e41c8992..f0c4c9ff 100644 --- a/proxmox-rrd/src/api_types.rs +++ b/proxmox-rrd/src/api_types.rs @@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize}; use proxmox_schema::api; -#[api()] +#[api] #[derive(Copy, Clone, Serialize, Deserialize)] #[serde(rename_all = "UPPERCASE")] /// RRD consolidation mode @@ -13,7 +13,7 @@ pub enum RRDMode { Average, } -#[api()] +#[api] #[derive(Copy, Clone, Serialize, Deserialize)] #[serde(rename_all = "lowercase")] /// RRD time frame diff --git a/proxmox-rrd/src/cache.rs b/proxmox-rrd/src/cache.rs index c8a24d86..40405037 100644 --- a/proxmox-rrd/src/cache.rs +++ b/proxmox-rrd/src/cache.rs @@ -104,7 +104,7 @@ impl Cache { /// * cf=maximum,r=7*86400,n=570 => 10year /// /// The resulting data file size is about 80KB. - #[deprecated(note="Implement in client code")] + #[deprecated(note = "Implement in client code")] pub fn create_proxmox_backup_default_rrd(dst: DataSourceType) -> Database { use crate::rrd::Archive;