Docs.rs
  • substrate-constructor-0.1.0
    • substrate-constructor 0.1.0
    • Docs.rs crate page
    • GPL-3.0-or-later
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • Slesarew
    • Dependencies
      • bitvec ^1.0.1 normal
      • external-memory-tools ^0.1.0 normal
      • frame-metadata ^16.0.0 normal
      • hex ^0.4.3 normal
      • num-bigint ^0.4.3 normal
      • parity-scale-codec ^3.6.9 normal
      • primitive-types ^0.12.2 normal
      • scale-info ^2.10.0 normal
      • sp-arithmetic ^24.0.0 normal
      • substrate_parser ^0.6.1 normal
    • Versions
    • 1.12% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • 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

substrate_constructor0.1.0

AsFillMetadata

Required Methods

  • defined_tx_version
  • spec_version

Implementations on Foreign Types

  • RuntimeMetadataV14
  • RuntimeMetadataV15

Object Safety

Implementors

In substrate_constructor::traits

?
Change settings

Trait substrate_constructor::traits::AsFillMetadata

source ·
pub trait AsFillMetadata<E: ExternalMemory>: AsCompleteMetadata<E> {
    // Required methods
    fn defined_tx_version(&self) -> Option<Unsigned>;
    fn spec_version(&self) -> Result<Unsigned, Self::MetaStructureError>;
}

Required Methods§

source

fn defined_tx_version(&self) -> Option<Unsigned>

source

fn spec_version(&self) -> Result<Unsigned, Self::MetaStructureError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<E: ExternalMemory> AsFillMetadata<E> for RuntimeMetadataV14

source§

fn defined_tx_version(&self) -> Option<Unsigned>

source§

fn spec_version(&self) -> Result<Unsigned, Self::MetaStructureError>

source§

impl<E: ExternalMemory> AsFillMetadata<E> for RuntimeMetadataV15

source§

fn defined_tx_version(&self) -> Option<Unsigned>

source§

fn spec_version(&self) -> Result<Unsigned, Self::MetaStructureError>

Implementors§