Struct gekko::runtime::kusama::extrinsics::election_provider_multi_phase::SetEmergencyElectionResult [−][src]
Expand description
Set a solution in the queue, to be handed out to the client of this pallet in the next
Documentation (provided by the runtime metadata)
Set a solution in the queue, to be handed out to the client of this pallet in the next
call to ElectionProvider::elect
.
This can only be set by T::ForceOrigin
, and only when the phase is Emergency
.
The solution is not checked for any feasibility and is assumed to be trustworthy, as any feasibility check itself can in principle cause the election process to fail (due to memory/weight constrains).
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
solution: A
Type description: ReadySolution<T::AccountId>
Trait Implementations
impl<A: PartialEq> PartialEq<SetEmergencyElectionResult<A>> for SetEmergencyElectionResult<A> where
A: Encode + Decode,
impl<A: PartialEq> PartialEq<SetEmergencyElectionResult<A>> for SetEmergencyElectionResult<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 SetEmergencyElectionResult<A> where
A: RefUnwindSafe,
impl<A> Send for SetEmergencyElectionResult<A> where
A: Send,
impl<A> Sync for SetEmergencyElectionResult<A> where
A: Sync,
impl<A> Unpin for SetEmergencyElectionResult<A> where
A: Unpin,
impl<A> UnwindSafe for SetEmergencyElectionResult<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
.