Struct gekko::runtime::kusama::extrinsics::paras_hrmp::HrmpInitOpenChannel [−][src]
pub struct HrmpInitOpenChannel<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode, {
pub recipient: A,
pub proposed_max_capacity: B,
pub proposed_max_message_size: C,
}
Expand description
Initiate opening a channel from a parachain to a given recipient with given channel
Documentation (provided by the runtime metadata)
Initiate opening a channel from a parachain to a given recipient with given channel parameters.
proposed_max_capacity
- specifies how many messages can be in the channel at once.proposed_max_message_size
- specifies the maximum size of any of the messages.
These numbers are a subject to the relay-chain configuration limits.
The channel can be opened only after the recipient confirms it and only on a session change.
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
recipient: A
Type description: ParaId
proposed_max_capacity: B
Type description: u32
proposed_max_message_size: C
Type description: u32
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> Eq for HrmpInitOpenChannel<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
impl<A, B, C> StructuralEq for HrmpInitOpenChannel<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
impl<A, B, C> StructuralPartialEq for HrmpInitOpenChannel<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
Auto Trait Implementations
impl<A, B, C> RefUnwindSafe for HrmpInitOpenChannel<A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<A, B, C> Send for HrmpInitOpenChannel<A, B, C> where
A: Send,
B: Send,
C: Send,
impl<A, B, C> Sync for HrmpInitOpenChannel<A, B, C> where
A: Sync,
B: Sync,
C: Sync,
impl<A, B, C> Unpin for HrmpInitOpenChannel<A, B, C> where
A: Unpin,
B: Unpin,
C: Unpin,
impl<A, B, C> UnwindSafe for HrmpInitOpenChannel<A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: 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
.