From fbb3049768843230863221b8f280a385ba6884eb Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 7 Mar 2024 13:24:42 +0100 Subject: [PATCH] acme: formatting fixups Signed-off-by: Wolfgang Bumiller --- proxmox-acme/src/account.rs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/proxmox-acme/src/account.rs b/proxmox-acme/src/account.rs index 7f00143b..86efdac9 100644 --- a/proxmox-acme/src/account.rs +++ b/proxmox-acme/src/account.rs @@ -279,7 +279,7 @@ impl CertificateRevocation<'_> { } /// Status of an ACME account. -#[cfg_attr(feature="api-types", proxmox_schema::api())] +#[cfg_attr(feature = "api-types", proxmox_schema::api())] #[derive(Clone, Copy, Eq, PartialEq, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub enum AccountStatus { @@ -312,8 +312,18 @@ impl AccountStatus { #[cfg_attr(feature="api-types", proxmox_schema::api( properties: { - extra: { type: Object, properties: {}, additional_properties: true }, - contact: { type: Array, items: { type: String, description: "Contact Info." }} + extra: { + type: Object, + properties: {}, + additional_properties: true, + }, + contact: { + type: Array, + items: { + type: String, + description: "Contact Info.", + }, + }, } ))] /// ACME Account data. This is the part of the account returned from and possibly sent to the ACME