Struct gekko::runtime::kusama::extrinsics::election_provider_multi_phase::Submit [−][src]
pub struct Submit<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub solution: A,
pub num_signed_submissions: B,
}
Expand description
Submit a solution for the signed phase.
Documentation (provided by the runtime metadata)
Submit a solution for the signed phase.
The dispatch origin fo this call must be signed.
The solution is potentially queued, based on the claimed score and processed at the end of the signed phase.
A deposit is reserved and recorded for the solution. Based on the outcome, the solution might be rewarded, slashed, or get all or a part of the deposit back.
Queue size must be provided as witness data.
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: RawSolution<CompactOf<T>>
num_signed_submissions: B
Type description: u32
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Submit<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Submit<A, B> where
A: UnwindSafe,
B: 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
.