referrerpolicy=no-referrer-when-downgrade

Module generate_genesis_config

Source
Expand description

Helper for generating the RuntimeGenesisConfig instance for presets. Helper macro allowing to construct JSON representation of partially initialized structs.

Structs§

InitializedField
This struct provides information about how the struct field was initialized and the field name (as a &str).

Enums§

InitilizationType
Represents the initialization method of a field within a struct.

Functions§

retain_initialized_fields
Recursively removes keys from provided json_value object, retaining only specified keys.