Enum wallet::transaction::AccountSecretKey
source · pub enum AccountSecretKey {
Ed25519(SecretKey<Ed25519>),
Ed25519Extended(SecretKey<Ed25519Extended>),
}
Variants§
Trait Implementations§
source§impl Clone for AccountSecretKey
impl Clone for AccountSecretKey
source§fn clone(&self) -> AccountSecretKey
fn clone(&self) -> AccountSecretKey
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 WitnessBuilder<AccountSecretKey, WitnessAccountData, Signature<WitnessAccountData, Ed25519>> for AccountWitnessBuilder
impl WitnessBuilder<AccountSecretKey, WitnessAccountData, Signature<WitnessAccountData, Ed25519>> for AccountWitnessBuilder
fn build_sign_data( &self, block0: &HeaderId, sign_data_hash: &TransactionSignDataHash ) -> WitnessAccountData
fn sign( &self, witness_data: WitnessAccountData, secret_key: AccountSecretKey ) -> Witness
fn build(&self, signature: Witness) -> Witness
Auto Trait Implementations§
impl RefUnwindSafe for AccountSecretKey
impl Send for AccountSecretKey
impl Sync for AccountSecretKey
impl Unpin for AccountSecretKey
impl UnwindSafe for AccountSecretKey
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