Struct gekko::runtime::kusama::extrinsics::staking::ScaleValidatorCount [−][src]
Expand description
Scale up the ideal number of validators by a factor.
Documentation (provided by the runtime metadata)
Scale up the ideal number of validators by a factor.
The dispatch origin must be Root.
Same as set_validator_count
.
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
factor: A
Type description: Percent
Trait Implementations
impl<A: PartialEq> PartialEq<ScaleValidatorCount<A>> for ScaleValidatorCount<A> where
A: Encode + Decode,
impl<A: PartialEq> PartialEq<ScaleValidatorCount<A>> for ScaleValidatorCount<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 ScaleValidatorCount<A> where
A: RefUnwindSafe,
impl<A> Send for ScaleValidatorCount<A> where
A: Send,
impl<A> Sync for ScaleValidatorCount<A> where
A: Sync,
impl<A> Unpin for ScaleValidatorCount<A> where
A: Unpin,
impl<A> UnwindSafe for ScaleValidatorCount<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
.