Struct gekko::runtime::kusama::extrinsics::registrar::ForceRegister [−][src]
pub struct ForceRegister<A, B, C, D, E> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
E: Encode + Decode, {
pub who: A,
pub deposit: B,
pub id: C,
pub genesis_head: D,
pub validation_code: E,
}
Expand description
Force the registration of a Para Id on the relay chain.
Documentation (provided by the runtime metadata)
Force the registration of a Para Id on the relay chain.
This function must be called by a Root origin.
The deposit taken can be specified for this registration. Any ParaId can be registered, including sub-1000 IDs which are System Parachains.
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
who: A
Type description: T::AccountId
deposit: B
Type description: BalanceOf<T>
id: C
Type description: ParaId
genesis_head: D
Type description: HeadData
validation_code: E
Type description: ValidationCode
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A: Eq, B: Eq, C: Eq, D: Eq, E: Eq> Eq for ForceRegister<A, B, C, D, E> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
E: Encode + Decode,
Auto Trait Implementations
impl<A, B, C, D, E> RefUnwindSafe for ForceRegister<A, B, C, D, E> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E> Send for ForceRegister<A, B, C, D, E> where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
impl<A, B, C, D, E> Sync for ForceRegister<A, B, C, D, E> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
impl<A, B, C, D, E> Unpin for ForceRegister<A, B, C, D, E> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
impl<A, B, C, D, E> UnwindSafe for ForceRegister<A, B, C, D, E> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: 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
.