pub struct MigrationSignFields<'a> {
pub chain_id: &'a str,
pub account: &'a str,
pub from_algorithm_id: u32,
pub to_algorithm_id: u32,
pub execution_height: i64,
pub old_public_key: &'a [u8],
pub new_public_key: &'a [u8],
}Expand description
The fields both keys sign in an algorithm migration (MsgMigratePQCKey).
Fields§
§chain_id: &'a strThe chain id.
account: &'a strThe bech32 account being migrated.
from_algorithm_id: u32The algorithm id migrated from.
to_algorithm_id: u32The algorithm id migrated to.
execution_height: i64The execution height (learned from the chain; stops later replay).
old_public_key: &'a [u8]The old public key (bound by v2 only).
new_public_key: &'a [u8]The new public key (bound by v2 only).
Trait Implementations§
Source§impl<'a> Clone for MigrationSignFields<'a>
impl<'a> Clone for MigrationSignFields<'a>
Source§fn clone(&self) -> MigrationSignFields<'a>
fn clone(&self) -> MigrationSignFields<'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 moreimpl<'a> Copy for MigrationSignFields<'a>
Auto Trait Implementations§
impl<'a> Freeze for MigrationSignFields<'a>
impl<'a> RefUnwindSafe for MigrationSignFields<'a>
impl<'a> Send for MigrationSignFields<'a>
impl<'a> Sync for MigrationSignFields<'a>
impl<'a> Unpin for MigrationSignFields<'a>
impl<'a> UnsafeUnpin for MigrationSignFields<'a>
impl<'a> UnwindSafe for MigrationSignFields<'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