Struct gekko::runtime::kusama::extrinsics::staking::SetController [−][src]
Expand description
(Re-)set the controller of a stash.
Documentation (provided by the runtime metadata)
(Re-)set the controller of a stash.
Effects will be felt at the beginning of the next era.
The dispatch origin for this call must be Signed by the stash, not the controller.
- Independent of the arguments. Insignificant complexity.
- Contains a limited number of reads.
- Writes are limited to the
origin
account key.
Weight: O(1) DB Weight:
- Read: Bonded, Ledger New Controller, Ledger Old Controller
- Write: Bonded, Ledger New Controller, Ledger Old Controller
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
controller: A
Type description: <T::Lookup as StaticLookup>::Source
Trait Implementations
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 SetController<A> where
A: RefUnwindSafe,
impl<A> Send for SetController<A> where
A: Send,
impl<A> Sync for SetController<A> where
A: Sync,
impl<A> Unpin for SetController<A> where
A: Unpin,
impl<A> UnwindSafe for SetController<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
.