Docs.rs
  • scrypto-1.3.0
    • scrypto 1.3.0
    • Permalink
    • Docs.rs crate page
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • radixbot
    • Dependencies
      • bech32 ^0.9.0 normal
      • const-sha1 ^0.3.0 normal
      • hex ^0.4.3 normal
      • minicov =0.3.5 normal optional
      • num-bigint ^0.4.3 normal
      • num-traits ^0.2.15 normal
      • paste ^1.0.13 normal
      • radix-blueprint-schema-init ^1.3.0 normal
      • radix-common ^1.3.0 normal
      • radix-engine-interface ^1.3.0 normal
      • radix-rust ^1.3.0 normal
      • sbor ^1.3.0 normal
      • scrypto-derive ^1.3.0 normal
      • serde ^1.0.144 normal optional
      • strum ^0.24 normal
    • Versions
    • 16.91% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

scrypto1.3.0

HasPublicKeyHash

Required Associated Types

  • TypedPublicKeyHash

Required Methods

  • get_hash

Provided Methods

  • signature_proof

Implementors

In scrypto::prelude

scrypto::prelude

Trait HasPublicKeyHash

Source
pub trait HasPublicKeyHash {
    type TypedPublicKeyHash: IsPublicKeyHash;

    // Required method
    fn get_hash(&self) -> Self::TypedPublicKeyHash;

    // Provided method
    fn signature_proof(&self) -> NonFungibleGlobalId { ... }
}

Required Associated Types§

Source

type TypedPublicKeyHash: IsPublicKeyHash

Required Methods§

Source

fn get_hash(&self) -> Self::TypedPublicKeyHash

Provided Methods§

Source

fn signature_proof(&self) -> NonFungibleGlobalId

Implementors§

Source§

impl HasPublicKeyHash for PublicKey

Source§

type TypedPublicKeyHash = PublicKeyHash

Source§

impl HasPublicKeyHash for Ed25519PublicKey

Source§

type TypedPublicKeyHash = Ed25519PublicKeyHash

Source§

impl HasPublicKeyHash for Secp256k1PublicKey

Source§

type TypedPublicKeyHash = Secp256k1PublicKeyHash

Source§

impl<H> HasPublicKeyHash for H
where H: IsPublicKeyHash,

Source§

type TypedPublicKeyHash = H