Struct pallet_ovm::GenesisConfig [−][src]
pub struct GenesisConfig { pub current_schedule: Schedule, }
Expand description
Genesis config for the module, allow to build genesis storage.
Fields
current_schedule: Schedule
Current cost schedule for contracts.
Implementations
Build the storage for this module.
Assimilate the storage for this module into pre-existing overlays.
Trait Implementations
impl<T: Config, __GeneratedInstance: Instance> BuildModuleGenesisStorage<T, __GeneratedInstance> for GenesisConfig
impl<T: Config, __GeneratedInstance: Instance> BuildModuleGenesisStorage<T, __GeneratedInstance> for GenesisConfig
Create the module genesis storage into the given storage
and child_storage
.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GenesisConfig
impl Send for GenesisConfig
impl Sync for GenesisConfig
impl Unpin for GenesisConfig
impl UnwindSafe for GenesisConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,