Struct ibc_testkit::fixtures::applications::transfer::MsgTransferConfig
source · pub struct MsgTransferConfig {
pub port_id_on_a: PortId,
pub chan_id_on_a: ChannelId,
pub packet_data: PacketData,
pub timeout_height_on_b: TimeoutHeight,
pub timeout_timestamp_on_b: Timestamp,
}Expand description
Configuration of the MsgTransfer message for building dummy messages.
Fields§
§port_id_on_a: PortId§chan_id_on_a: ChannelId§packet_data: PacketData§timeout_height_on_b: TimeoutHeight§timeout_timestamp_on_b: TimestampImplementations§
source§impl MsgTransferConfig
impl MsgTransferConfig
sourcepub fn builder() -> MsgTransferConfigBuilder<((), (), (), (), ())>
pub fn builder() -> MsgTransferConfigBuilder<((), (), (), (), ())>
Create a builder for building MsgTransferConfig.
On the builder, call .port_id_on_a(...)(optional), .chan_id_on_a(...)(optional), .packet_data(...), .timeout_height_on_b(...)(optional), .timeout_timestamp_on_b(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of MsgTransferConfig.
Trait Implementations§
source§impl Debug for MsgTransferConfig
impl Debug for MsgTransferConfig
source§impl From<MsgTransferConfig> for MsgTransfer
impl From<MsgTransferConfig> for MsgTransfer
source§fn from(config: MsgTransferConfig) -> Self
fn from(config: MsgTransferConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MsgTransferConfig
impl Send for MsgTransferConfig
impl Sync for MsgTransferConfig
impl Unpin for MsgTransferConfig
impl UnwindSafe for MsgTransferConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more