Struct gekko::runtime::polkadot::extrinsics::babe::PlanConfigChange [−][src]
Expand description
Plan an epoch config change. The epoch config change is recorded and will be enacted on
Documentation (provided by the runtime metadata)
Plan an epoch config change. The epoch config change is recorded and will be enacted on
the next call to enact_epoch_change
. The config will be activated one epoch after.
Multiple calls to this method will replace any existing planned config change that had
not been enacted yet.
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
config: A
Type description: NextConfigDescriptor
Trait Implementations
impl<A: PartialEq> PartialEq<PlanConfigChange<A>> for PlanConfigChange<A> where
A: Encode + Decode,
impl<A: PartialEq> PartialEq<PlanConfigChange<A>> for PlanConfigChange<A> where
A: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<A> RefUnwindSafe for PlanConfigChange<A> where
A: RefUnwindSafe,
impl<A> Send for PlanConfigChange<A> where
A: Send,
impl<A> Sync for PlanConfigChange<A> where
A: Sync,
impl<A> Unpin for PlanConfigChange<A> where
A: Unpin,
impl<A> UnwindSafe for PlanConfigChange<A> where
A: UnwindSafe,
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
.