Use #[serde_with_macros::skip_serializing_none] on Password struct

This commit is contained in:
TheAwiteb 2023-12-25 17:06:40 +03:00
parent c5638a1361
commit 5a9957717b
No known key found for this signature in database
GPG key ID: ABF818BD15DC2D34

View file

@ -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