pub enum AccountEvent {
RenameAccount(String),
UpdateIdentity(Vec<u8>),
CreateFolder(VaultId, Vec<u8>),
RenameFolder(VaultId, String),
UpdateFolder(VaultId, Vec<u8>),
CompactFolder(VaultId, Vec<u8>),
ChangeFolderPassword(VaultId, Vec<u8>),
DeleteFolder(VaultId),
// some variants omitted
}Expand description
Events generated in the context of an account.
Variants§
RenameAccount(String)
Account was renamed.
UpdateIdentity(Vec<u8>)
Identity folder was updated.
This event happens when a the identity folder cipher changed, the account password changed or if the identity folder was compacted.
This event is destructive as it re-writes the folder event log.
Buffer is a vault.
CreateFolder(VaultId, Vec<u8>)
Create folder.
Buffer is a head-only vault.
RenameFolder(VaultId, String)
Rename a folder.
UpdateFolder(VaultId, Vec<u8>)
Folder was updated.
This event happens when a folder is imported and overwrites an existing folder.
This event is destructive as it re-writes the folder event log.
Buffer is a vault.
CompactFolder(VaultId, Vec<u8>)
Folder events were compacted.
This event is destructive as it re-writes the folder event log.
Buffer is a vault.
ChangeFolderPassword(VaultId, Vec<u8>)
Change folder password.
This event is destructive as it re-writes the folder event log.
Buffer is a vault.
DeleteFolder(VaultId)
Delete folder.
Implementations§
Trait Implementations§
Source§impl Clone for AccountEvent
impl Clone for AccountEvent
Source§fn clone(&self) -> AccountEvent
fn clone(&self) -> AccountEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more