Docs.rs
  • chainhook-sdk-0.12.10
    • chainhook-sdk 0.12.10
    • Permalink
    • Docs.rs crate page
    • GPL-3.0
    • Links
    • crates.io
    • Source
    • Owners
    • lgalabru
    • hugocaillard
    • MicaiahReid
    • Dependencies
      • base58 ^0.2.0 normal
      • base64 ^0.21.5 normal
      • bitcoincore-rpc ^0.18.0 normal
      • bitcoincore-rpc-json ^0.18.0 normal
      • chainhook-types ^1.3.6 normal
      • crossbeam-channel ^0.5.6 normal
      • dashmap ^5.4.0 normal
      • futures ^0.3.21 normal
      • fxhash ^0.2.1 normal
      • hex ^0.4.3 normal
      • hiro-system-kit ^0.3.4 normal optional
      • hyper =0.14.27 normal
      • lazy_static ^1.4.0 normal
      • miniscript ^11.0.0 normal
      • prometheus ^0.13.3 normal
      • rand ^0.8.5 normal
      • regex ^1.9.3 normal
      • reqwest ^0.11 normal
      • rocket =0.5.0 normal
      • schemars ^0.8.16 normal
      • serde ^1 normal
      • serde-hex ^0.1.0 normal
      • serde_derive ^1 normal
      • serde_json ^1 normal
      • stacks-codec ^2.4.1 normal
      • threadpool ^1.8.1 normal
      • tokio ^1.35.1 normal
      • zmq ^0.10.0 normal optional
      • test-case ^3.1.0 dev
    • Versions
    • 2.04% of the crate is documented
  • Platform
    • 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

chainhook_sdk0.12.10

AbstractBlock

Required Methods

  • get_identifier
  • get_parent_identifier

Provided Methods

  • get_header

Implementations on Foreign Types

  • BitcoinBlockData
  • BlockHeader
  • StacksBlockData
  • StacksMicroblockData

Implementors

In chainhook_sdk::utils

Trait chainhook_sdk::utils::AbstractBlock

source ·
pub trait AbstractBlock {
    // Required methods
    fn get_identifier(&self) -> &BlockIdentifier;
    fn get_parent_identifier(&self) -> &BlockIdentifier;

    // Provided method
    fn get_header(&self) -> BlockHeader { ... }
}

Required Methods§

source

fn get_identifier(&self) -> &BlockIdentifier

source

fn get_parent_identifier(&self) -> &BlockIdentifier

Provided Methods§

source

fn get_header(&self) -> BlockHeader

Implementations on Foreign Types§

source§

impl AbstractBlock for BitcoinBlockData

source§

fn get_identifier(&self) -> &BlockIdentifier

source§

fn get_parent_identifier(&self) -> &BlockIdentifier

source§

impl AbstractBlock for BlockHeader

source§

fn get_identifier(&self) -> &BlockIdentifier

source§

fn get_parent_identifier(&self) -> &BlockIdentifier

source§

impl AbstractBlock for StacksBlockData

source§

fn get_identifier(&self) -> &BlockIdentifier

source§

fn get_parent_identifier(&self) -> &BlockIdentifier

source§

impl AbstractBlock for StacksMicroblockData

source§

fn get_identifier(&self) -> &BlockIdentifier

source§

fn get_parent_identifier(&self) -> &BlockIdentifier

Implementors§