Struct gekko::runtime::kusama::extrinsics::democracy::NoteImminentPreimage [−][src]
Expand description
Register the preimage for an upcoming proposal. This requires the proposal to be
Documentation (provided by the runtime metadata)
Register the preimage for an upcoming proposal. This requires the proposal to be in the dispatch queue. No deposit is needed. When this call is successful, i.e. the preimage has not been uploaded before and matches some imminent proposal, no fee is paid.
The dispatch origin of this call must be Signed.
encoded_proposal
: The preimage of a proposal.
Emits PreimageNoted
.
Weight: O(E)
with E size of encoded_proposal
(protected by a required deposit).
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
encoded_proposal: A
Type description: Vec<u8>
Trait Implementations
impl<A: PartialEq> PartialEq<NoteImminentPreimage<A>> for NoteImminentPreimage<A> where
A: Encode + Decode,
impl<A: PartialEq> PartialEq<NoteImminentPreimage<A>> for NoteImminentPreimage<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 NoteImminentPreimage<A> where
A: RefUnwindSafe,
impl<A> Send for NoteImminentPreimage<A> where
A: Send,
impl<A> Sync for NoteImminentPreimage<A> where
A: Sync,
impl<A> Unpin for NoteImminentPreimage<A> where
A: Unpin,
impl<A> UnwindSafe for NoteImminentPreimage<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
.