From d07e4fdb9a3d1d05f43f968aea1b7d815ac4a2dc Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 4 Dec 2023 10:13:46 +0100 Subject: [PATCH] Option> -> Vec<> Signed-off-by: Wolfgang Bumiller --- src/directory.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/directory.rs b/src/directory.rs index a9d31f27..ed8203f9 100644 --- a/src/directory.rs +++ b/src/directory.rs @@ -57,8 +57,8 @@ pub struct Meta { pub website: Option, /// List of hostnames used by the CA, intended for the use with caa dns records - #[serde(skip_serializing_if = "Option::is_none")] - pub caa_identities: Option>, + #[serde(default, skip_serializing_if = "Vec::is_empty")] + pub caa_identities: Vec, } impl Directory {