]> git.proxmox.com Git - proxmox.git/commitdiff
acme: formatting fixups
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 7 Mar 2024 12:24:42 +0000 (13:24 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 7 Mar 2024 12:24:42 +0000 (13:24 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-acme/src/account.rs

index 7f00143bff50214332d2fd6d42e110492d3ca159..86efdac979ea35061bd926b28716378e2ddfcdbf 100644 (file)
@@ -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