Docs.rs
  • radix-common-1.2.0
    • radix-common 1.2.0
    • 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 ^1.0.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.2.0 normal
      • radix-sbor-derive ^1.2.0 normal
      • rug ^1.18 normal optional
      • sbor ^1.2.0 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
    • 37.86% of the crate is documented
  • Go to latest version
  • 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.2.0

HasPublicKeyHash

Required Associated Types

  • TypedPublicKeyHash

Required Methods

  • get_hash

Implementors

In radix_common::crypto

Trait radix_common::crypto::HasPublicKeyHash

source ·
pub trait HasPublicKeyHash {
    type TypedPublicKeyHash: IsPublicKeyHash;

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

Required Associated Types§

source

type TypedPublicKeyHash: IsPublicKeyHash

Required Methods§

source

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

Implementors§

source§

impl HasPublicKeyHash for PublicKey

§

type TypedPublicKeyHash = PublicKeyHash

source§

impl HasPublicKeyHash for Ed25519PublicKey

§

type TypedPublicKeyHash = Ed25519PublicKeyHash

source§

impl HasPublicKeyHash for Secp256k1PublicKey

§

type TypedPublicKeyHash = Secp256k1PublicKeyHash