pub fn account_remove(&self, account_id: &str, snapshot_password: &str) {
        let record_id = self.record_get_by_account_id(account_id, snapshot_password);
        let account = self.account_get_by_record_id(&record_id, snapshot_password);
        self.storage.revoke(record_id, snapshot_password);
        self.storage.garbage_collect_vault(snapshot_password);
    }
/// Removes an existing account from the snapshot.
///
/// Given the `account id` of the account to remove and the `snapshot password` needed for decrypt the snapshot,
/// searches and removes it from the snapshot file.
///
/// # Example
/// ```no_run
/// use stronghold::Stronghold;
/// let stronghold = Stronghold::new("savings.snapshot");
/// stronghold.account_remove(
///     "7c1a5ce9cc8f57f8739634aefbafda9eba6a02f82e3a4ab825ed296274e3aca1",
///     "c/7f5cf@faaf$e2c%c588d",
/// );
/// ```
Removes an existing account from the snapshot.
Given the `account id` of the account to remove and the `snapshot password` needed for decrypt the snapshot,
searches and removes it from the snapshot file.
Removes an existing account from the snapshot . Given the ` account id ` of the account to remove and the ` snapshot password ` needed for decrypt the snapshot searches and removes it from the snapshot file .
pub fn account_remove(&self, account_id: &str, snapshot_password: &str) {
        let record_id = self.record_get_by_account_id(account_id, snapshot_password);
        let account = self.account_get_by_record_id(&record_id, snapshot_password);
        self.storage.revoke(record_id, snapshot_password);
        self.storage.garbage_collect_vault(snapshot_password);
    }
pub fn account_remove ( & self , account_id : & str , snapshot_password : & str ) { let record_id = self . record_get_by_account_id ( account_id , snapshot_password ) ; let account = self . account_get_by_record_id ( & record_id , snapshot_password ) ; self . storage . revoke ( record_id , snapshot_password ) ; self . storage . garbage_collect_vault ( snapshot_password ) ; }
Removes an existing account from the snapshot.
Removes an existing account from the snapshot .
&self
account_id
&str
snapshot_password
&str
example
None