From 5a9957717b8a1b8873ad11b5128e9711f5bbb705 Mon Sep 17 00:00:00 2001 From: TheAwiteb Date: Mon, 25 Dec 2023 17:06:40 +0300 Subject: [PATCH] Use `#[serde_with_macros::skip_serializing_none]` on `Password` struct --- src/password/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/password/mod.rs b/src/password/mod.rs index 7cb3c4f..29ffc98 100644 --- a/src/password/mod.rs +++ b/src/password/mod.rs @@ -40,6 +40,7 @@ pub struct Passwords { } /// The password struct +#[serde_with_macros::skip_serializing_none] #[derive(Clone, Debug, Deserialize, Serialize, Parser)] pub struct Password { /// The name of the password