Docs.rs
  • radix-common-1.3.0-rc.3
    • radix-common 1.3.0-rc.3
    • Docs.rs crate page
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • radixbot
    • Dependencies
      • arbitrary ^1.3.0 normal optional
      • bech32 ^0.9.0 normal
      • blake2 ^0.10.6 normal
      • blst ^0.3.11 normal
      • bnum ^0.11.0 normal
      • ed25519-dalek ^2.1.1 normal
      • ethnum ^1.3.2 normal optional
      • hex ^0.4.3 normal
      • lazy_static ^1.4.0 normal
      • num-bigint ^0.4.3 normal
      • num-integer ^0.1.45 normal
      • num-traits ^0.2.15 normal
      • paste ^1.0.13 normal
      • radix-rust ^1.3.0-rc.3 normal
      • radix-sbor-derive ^1.3.0-rc.3 normal
      • rug ^1.18 normal optional
      • sbor ^1.3.0-rc.3 normal
      • secp256k1 ^0.28.0 normal optional
      • serde ^1.0.144 normal optional
      • sha3 ^0.10.8 normal
      • strum ^0.24 normal
      • zeroize ^1.3.0 normal
      • criterion ^0.3 dev
      • serde_json ^1.0.105 dev
    • Versions
    • 27.48% of the crate is documented
  • Go to latest stable release
  • 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

radix_common1.3.0-rc.3

HasPublicKeyHash

Required Associated Types

  • TypedPublicKeyHash

Required Methods

  • get_hash

Provided Methods

  • signature_proof

Implementors

In radix_common::crypto

radix_common::crypto

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: IsPublicKeyHash> HasPublicKeyHash for H

Source§

type TypedPublicKeyHash = H