pub struct RotateFromMnemonicOptions<'a> {
pub account: &'a str,
pub mnemonic: &'a str,
pub chain_id: &'a str,
pub algorithm_id: u32,
pub old_derivation: &'a str,
pub new_derivation: &'a str,
}Expand description
Options for rotate_pqc_key_msg_from_mnemonic.
Fields§
§account: &'a strThe account (bech32) whose PQC key is rotated; also sender of the msg.
mnemonic: &'a strThe mnemonic both derivations share.
chain_id: &'a strThe chain-id bound into the rotation sign-bytes.
algorithm_id: u32The algorithm id (1 = ML-DSA-87 / Dilithium-5). Defaults via Default.
old_derivation: &'a strThe derivation to rotate FROM. Defaults to DERIVATION_LEGACY.
new_derivation: &'a strThe derivation to rotate TO. Defaults to DERIVATION_CANONICAL.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for RotateFromMnemonicOptions<'a>
impl<'a> Clone for RotateFromMnemonicOptions<'a>
Source§fn clone(&self) -> RotateFromMnemonicOptions<'a>
fn clone(&self) -> RotateFromMnemonicOptions<'a>
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<'a> Freeze for RotateFromMnemonicOptions<'a>
impl<'a> RefUnwindSafe for RotateFromMnemonicOptions<'a>
impl<'a> Send for RotateFromMnemonicOptions<'a>
impl<'a> Sync for RotateFromMnemonicOptions<'a>
impl<'a> Unpin for RotateFromMnemonicOptions<'a>
impl<'a> UnsafeUnpin for RotateFromMnemonicOptions<'a>
impl<'a> UnwindSafe for RotateFromMnemonicOptions<'a>
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