pub struct RecoveryKey {
pub recovery_key: String,
pub recovery_secret_b64: String,
}Expand description
A recovery key with its derived 32-byte secret.
Fields§
§recovery_key: StringHuman-readable key (13 hyphen-separated groups, 64 chars total).
recovery_secret_b64: StringBase64-encoded 32-byte secret derived from the key (for encrypt/hash).
Trait Implementations§
Source§impl Clone for RecoveryKey
impl Clone for RecoveryKey
Source§fn clone(&self) -> RecoveryKey
fn clone(&self) -> RecoveryKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RecoveryKey
impl RefUnwindSafe for RecoveryKey
impl Send for RecoveryKey
impl Sync for RecoveryKey
impl Unpin for RecoveryKey
impl UnsafeUnpin for RecoveryKey
impl UnwindSafe for RecoveryKey
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