Struct gekko::runtime::polkadot::extrinsics::technical_committee::Execute [−][src]
pub struct Execute<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub proposal: A,
pub length_bound: B,
}
Expand description
Dispatch a proposal from a member using the Member
origin.
Documentation (provided by the runtime metadata)
Dispatch a proposal from a member using the Member
origin.
Origin must be a member of the collective.
Weight
O(M + P)
whereM
members-count (code-bounded) andP
complexity of dispatchingproposal
- DB: 1 read (codec
O(M)
) + DB access ofproposal
- 1 event
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
proposal: A
Type description: Box<<T as Config<I>>::Proposal>
length_bound: B
Type description: Compact<u32>
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Execute<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Execute<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
.