Struct ibc::core::ics04_channel::msgs::chan_open_ack::MsgChannelOpenAck
source · pub struct MsgChannelOpenAck {
pub port_id_on_a: PortId,
pub chan_id_on_a: ChannelId,
pub chan_id_on_b: ChannelId,
pub version_on_b: Version,
pub proof_chan_end_on_b: CommitmentProofBytes,
pub proof_height_on_b: Height,
pub signer: Signer,
}
Expand description
Per our convention, this message is sent to chain A.
Message definition for the third step in the channel open handshake (ChanOpenAck
datagram).
Fields
port_id_on_a: PortId
chan_id_on_a: ChannelId
chan_id_on_b: ChannelId
version_on_b: Version
proof_chan_end_on_b: CommitmentProofBytes
proof_height_on_b: Height
signer: Signer
Implementations
Trait Implementations
sourceimpl Clone for MsgChannelOpenAck
impl Clone for MsgChannelOpenAck
sourcefn clone(&self) -> MsgChannelOpenAck
fn clone(&self) -> MsgChannelOpenAck
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MsgChannelOpenAck
impl Debug for MsgChannelOpenAck
sourceimpl From<MsgChannelOpenAck> for RawMsgChannelOpenAck
impl From<MsgChannelOpenAck> for RawMsgChannelOpenAck
sourcefn from(domain_msg: MsgChannelOpenAck) -> Self
fn from(domain_msg: MsgChannelOpenAck) -> Self
Converts to this type from the input type.
sourceimpl Msg for MsgChannelOpenAck
impl Msg for MsgChannelOpenAck
type ValidationError = Error
type Raw = MsgChannelOpenAck
fn route(&self) -> String
sourcefn type_url(&self) -> String
fn type_url(&self) -> String
Unique type identifier for this message, to support encoding to/from
prost_types::Any
.fn to_any(self) -> Any
fn get_sign_bytes(self) -> Vec<u8> ⓘ
fn validate_basic(&self) -> Result<(), ValidationError>
sourceimpl PartialEq<MsgChannelOpenAck> for MsgChannelOpenAck
impl PartialEq<MsgChannelOpenAck> for MsgChannelOpenAck
sourcefn eq(&self, other: &MsgChannelOpenAck) -> bool
fn eq(&self, other: &MsgChannelOpenAck) -> bool
sourceimpl Protobuf<MsgChannelOpenAck> for MsgChannelOpenAck
impl Protobuf<MsgChannelOpenAck> for MsgChannelOpenAck
sourcefn encode(&self, buf: &mut Vec<u8, Global>) -> Result<(), Error>
fn encode(&self, buf: &mut Vec<u8, Global>) -> Result<(), Error>
Encode into a buffer in Protobuf format. Read more
sourcefn encode_length_delimited(&self, buf: &mut Vec<u8, Global>) -> Result<(), Error>
fn encode_length_delimited(&self, buf: &mut Vec<u8, Global>) -> Result<(), Error>
Encode with a length-delimiter to a buffer in Protobuf format. Read more
sourcefn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Self: Sized,
fn decode<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Self: Sized,
Constructor that attempts to decode an instance from a buffer. Read more
sourcefn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Self: Sized,
fn decode_length_delimited<B>(buf: B) -> Result<Self, Error>where
B: Buf,
Self: Sized,
Constructor that attempts to decode a length-delimited instance from
the buffer. Read more
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter. Read more
sourcefn encode_vec(&self) -> Result<Vec<u8, Global>, Error>
fn encode_vec(&self) -> Result<Vec<u8, Global>, Error>
Encodes into a Protobuf-encoded
Vec<u8>
.sourcefn decode_vec(v: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn decode_vec(v: &[u8]) -> Result<Self, Error>where
Self: Sized,
Constructor that attempts to decode a Protobuf-encoded instance from a
Vec<u8>
(or equivalent). Read moresourcefn encode_length_delimited_vec(&self) -> Result<Vec<u8, Global>, Error>
fn encode_length_delimited_vec(&self) -> Result<Vec<u8, Global>, Error>
Encode with a length-delimiter to a
Vec<u8>
Protobuf-encoded message.sourcefn decode_length_delimited_vec(v: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn decode_length_delimited_vec(v: &[u8]) -> Result<Self, Error>where
Self: Sized,
Constructor that attempts to decode a Protobuf-encoded instance with a
length-delimiter from a
Vec<u8>
or equivalent. Read morefn encode_to_hex_string(&self) -> String
sourceimpl TryFrom<MsgChannelOpenAck> for MsgChannelOpenAck
impl TryFrom<MsgChannelOpenAck> for MsgChannelOpenAck
impl Eq for MsgChannelOpenAck
impl StructuralEq for MsgChannelOpenAck
impl StructuralPartialEq for MsgChannelOpenAck
Auto Trait Implementations
impl RefUnwindSafe for MsgChannelOpenAck
impl Send for MsgChannelOpenAck
impl Sync for MsgChannelOpenAck
impl Unpin for MsgChannelOpenAck
impl UnwindSafe for MsgChannelOpenAck
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more