Derive Default for Passwords

This commit is contained in:
TheAwiteb 2023-12-24 20:25:47 +03:00
parent ba71088679
commit bdfb17d888
No known key found for this signature in database
GPG key ID: ABF818BD15DC2D34

View file

@ -27,7 +27,7 @@ mod validator;
pub use validator::*;
/// The passwords manager
#[derive(Deserialize, Serialize)]
#[derive(Default, Deserialize, Serialize)]
pub struct Passwords {
/// Hash of the master password
#[serde(skip)]