Struct matrix_sdk_crypto::store::BackupKeys
source · pub struct BackupKeys {
pub decryption_key: Option<BackupDecryptionKey>,
pub backup_version: Option<String>,
}
Expand description
Stored versions of the backup keys.
Fields§
§decryption_key: Option<BackupDecryptionKey>
The key used to decrypt backed up room keys.
backup_version: Option<String>
The version that we are using for backups.
Trait Implementations§
source§impl Clone for BackupKeys
impl Clone for BackupKeys
source§fn clone(&self) -> BackupKeys
fn clone(&self) -> BackupKeys
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BackupKeys
impl Debug for BackupKeys
source§impl Default for BackupKeys
impl Default for BackupKeys
source§fn default() -> BackupKeys
fn default() -> BackupKeys
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BackupKeys
impl Send for BackupKeys
impl Sync for BackupKeys
impl Unpin for BackupKeys
impl UnwindSafe for BackupKeys
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more