pub type ManualSealConfig = GenesisConfig<Runtime>;

Aliased Type§

struct ManualSealConfig {
    pub enable: bool,
    pub _config: PhantomData<Runtime>,
}

Fields§

§enable: bool§_config: PhantomData<Runtime>

Trait Implementations

source§

impl<T> Default for GenesisConfig<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de, T> Deserialize<'de> for GenesisConfig<T>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<T: Config> BuildGenesisConfig for GenesisConfig<T>

source§

fn build(&self)

The build function puts initial GenesisConfig keys/values pairs into the storage.
source§

impl<T: Config> BuildStorage for GenesisConfig<T>

source§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Assimilate the storage for this module into pre-existing overlays.
§

fn build_storage(&self) -> Result<Storage, String>

Build the storage out of this builder.
source§

impl<T> Serialize for GenesisConfig<T>

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more