diff --git a/proxmox-notify/src/endpoints/gotify.rs b/proxmox-notify/src/endpoints/gotify.rs index 30ee76aa..fae036cd 100644 --- a/proxmox-notify/src/endpoints/gotify.rs +++ b/proxmox-notify/src/endpoints/gotify.rs @@ -84,6 +84,7 @@ pub struct GotifyEndpoint { #[api] #[derive(Serialize, Deserialize)] #[serde(rename_all = "kebab-case")] +/// The set of properties that can be deleted from a gotify endpoint configuration. pub enum DeleteableGotifyProperty { /// Delete `comment` Comment, diff --git a/proxmox-notify/src/endpoints/sendmail.rs b/proxmox-notify/src/endpoints/sendmail.rs index e75902fc..45e927ba 100644 --- a/proxmox-notify/src/endpoints/sendmail.rs +++ b/proxmox-notify/src/endpoints/sendmail.rs @@ -84,6 +84,7 @@ pub struct SendmailConfig { #[api] #[derive(Serialize, Deserialize)] #[serde(rename_all = "kebab-case")] +/// The set of properties that can be deleted from a sendmail endpoint configuration. pub enum DeleteableSendmailProperty { /// Delete `author` Author, diff --git a/proxmox-notify/src/endpoints/smtp.rs b/proxmox-notify/src/endpoints/smtp.rs index 27afeba5..973f7fad 100644 --- a/proxmox-notify/src/endpoints/smtp.rs +++ b/proxmox-notify/src/endpoints/smtp.rs @@ -115,6 +115,7 @@ pub struct SmtpConfig { #[api] #[derive(Serialize, Deserialize)] #[serde(rename_all = "kebab-case")] +/// The set of properties that can be deleted from a smtp endpoint configuration. pub enum DeleteableSmtpProperty { /// Delete `author` Author, diff --git a/proxmox-notify/src/lib.rs b/proxmox-notify/src/lib.rs index 910dfa06..015d9b9c 100644 --- a/proxmox-notify/src/lib.rs +++ b/proxmox-notify/src/lib.rs @@ -138,6 +138,7 @@ impl FromStr for Severity { #[api()] #[derive(Clone, Debug, Copy, Serialize, Deserialize, PartialEq, Eq, PartialOrd)] #[serde(rename_all = "kebab-case")] +/// The origin of a notification configuration entry. pub enum Origin { /// User-created config entry UserCreated, diff --git a/proxmox-notify/src/matcher.rs b/proxmox-notify/src/matcher.rs index 986deee5..7fb2c9b1 100644 --- a/proxmox-notify/src/matcher.rs +++ b/proxmox-notify/src/matcher.rs @@ -19,6 +19,7 @@ pub const MATCHER_TYPENAME: &str = "matcher"; #[api] #[derive(Debug, Serialize, Deserialize, Default, Clone, Copy)] #[serde(rename_all = "kebab-case")] +/// The mode in which the results of matches are combined. pub enum MatchModeOperator { /// All match statements have to match (AND) #[default] @@ -415,6 +416,7 @@ impl FromStr for CalendarMatcher { #[api] #[derive(Serialize, Deserialize)] #[serde(rename_all = "kebab-case")] +/// The set of matcher properties that can be deleted. pub enum DeleteableMatcherProperty { /// Delete `comment` Comment,