Trait scrypto::blueprints::resource::FromPublicKey
source · pub trait FromPublicKey: Sized {
// Required methods
fn from_public_key<P>(public_key: &P) -> Self
where P: HasPublicKeyHash;
fn from_public_key_hash<P>(public_key_hash: P) -> Self
where P: IsPublicKeyHash;
}
Required Methods§
fn from_public_key<P>(public_key: &P) -> Selfwhere
P: HasPublicKeyHash,
fn from_public_key_hash<P>(public_key_hash: P) -> Selfwhere
P: IsPublicKeyHash,
Object Safety§
This trait is not object safe.