Struct pallet_dynamic_fee::GenesisConfig [−][src]
pub struct GenesisConfig { pub min_gas_price: U256, }
Expand description
Genesis config for the module, allow to build genesis storage.
Fields
min_gas_price: U256
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
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
The counterpart to unchecked_from
.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.