Enum noah_api::keys::PublicKeyInner
source · pub enum PublicKeyInner {
Ed25519(Ed25519PublicKey),
Secp256k1(Secp256k1PublicKey),
EthAddress([u8; 20]),
}
Expand description
The public key for confidential transfer.
Variants§
Ed25519(Ed25519PublicKey)
Ed25519 Public Key
Secp256k1(Secp256k1PublicKey)
Secp256k1 Public Key
EthAddress([u8; 20])
Hash of the secp256k1 public key.
Trait Implementations§
source§impl Clone for PublicKeyInner
impl Clone for PublicKeyInner
source§fn clone(&self) -> PublicKeyInner
fn clone(&self) -> PublicKeyInner
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 more