fn account_save(&self, account: &Account, snapshot_password: &str) -> storage::Id {
        let account_serialized = serde_json::to_string(account).expect("Error saving account in snapshot");
        self.storage
            .encrypt(&account.id(), &account_serialized, snapshot_password)
    }
// Save account in a new record
Save account in a new record
Save account in a new record
fn account_save(&self, account: &Account, snapshot_password: &str) -> storage::Id {
        let account_serialized = serde_json::to_string(account).expect("Error saving account in snapshot");
        self.storage
            .encrypt(&account.id(), &account_serialized, snapshot_password)
    }
fn account_save ( & self , account : & Account , snapshot_password : & str ) -> storage :: Id { let account_serialized = serde_json :: to_string ( account ) . expect ( " " ) ; self . storage . encrypt ( & account . id ( ) , & account_serialized , snapshot_password ) }
Save account in a new record
Save account in a new record
&self
account
&Account
snapshot_password
&str