Enum everscale_crypto::tl::PublicKeyOwned
source · pub enum PublicKeyOwned {
Ed25519 {
key: [u8; 32],
},
Overlay {
name: Vec<u8>,
},
Aes {
key: [u8; 32],
},
Unencoded {
data: Vec<u8>,
},
}Expand description
Public key which is used in protocol. Owned version
Variants§
Implementations§
source§impl PublicKeyOwned
impl PublicKeyOwned
pub fn as_equivalent_ref(&self) -> PublicKey<'_>
Trait Implementations§
source§impl Clone for PublicKeyOwned
impl Clone for PublicKeyOwned
source§fn clone(&self) -> PublicKeyOwned
fn clone(&self) -> PublicKeyOwned
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