From 331fa7a732f7dc0971d2abe69baa8fbffb220ce0 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 22 Oct 2024 14:48:47 +0200 Subject: [PATCH] apt-api-types: add missing doc-comment description for api enums this is used as description in the api schema Signed-off-by: Thomas Lamprecht --- proxmox-apt-api-types/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxmox-apt-api-types/src/lib.rs b/proxmox-apt-api-types/src/lib.rs index ce6f5d78..efbce4ef 100644 --- a/proxmox-apt-api-types/src/lib.rs +++ b/proxmox-apt-api-types/src/lib.rs @@ -8,6 +8,7 @@ use proxmox_schema::api; #[api] #[derive(Debug, Copy, Clone, Serialize, Deserialize, PartialEq, Eq)] #[serde(rename_all = "lowercase")] +/// The type of format used for an APT repository. pub enum APTRepositoryFileType { /// One-line-style format List, @@ -21,6 +22,7 @@ serde_plain::derive_fromstr_from_deserialize!(APTRepositoryFileType); #[api] #[derive(Debug, Copy, Clone, Serialize, Deserialize, PartialEq, Eq)] #[serde(rename_all = "kebab-case")] +/// The type of an APT package. pub enum APTRepositoryPackageType { /// Debian package Deb,