Struct MsgRecvPacket
pub struct MsgRecvPacket {
pub packet: Packet,
pub proof_commitment_on_a: MerkleProof,
pub proof_height_on_a: Height,
pub signer: String,
}
Expand description
Message definition for the “packet receiving” datagram.
Fields§
§packet: Packet
The packet to be received
proof_commitment_on_a: MerkleProof
Proof of packet commitment on the sending chain
proof_height_on_a: Height
Height at which the commitment proof in this message were taken
signer: String
The signer of the message
Trait Implementations§
§impl Clone for MsgRecvPacket
impl Clone for MsgRecvPacket
§fn clone(&self) -> MsgRecvPacket
fn clone(&self) -> MsgRecvPacket
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for MsgRecvPacket
impl Debug for MsgRecvPacket
§impl DomainType for MsgRecvPacket
impl DomainType for MsgRecvPacket
§impl PartialEq for MsgRecvPacket
impl PartialEq for MsgRecvPacket
§impl TryFrom<MsgRecvPacket> for MsgRecvPacket
impl TryFrom<MsgRecvPacket> for MsgRecvPacket
§type Error = PacketError
type Error = PacketError
The type returned in the event of a conversion error.
§fn try_from(
raw_msg: MsgRecvPacket,
) -> Result<MsgRecvPacket, <MsgRecvPacket as TryFrom<MsgRecvPacket>>::Error>
fn try_from( raw_msg: MsgRecvPacket, ) -> Result<MsgRecvPacket, <MsgRecvPacket as TryFrom<MsgRecvPacket>>::Error>
Performs the conversion.
impl StructuralPartialEq for MsgRecvPacket
Auto Trait Implementations§
impl Freeze for MsgRecvPacket
impl RefUnwindSafe for MsgRecvPacket
impl Send for MsgRecvPacket
impl Sync for MsgRecvPacket
impl Unpin for MsgRecvPacket
impl UnwindSafe for MsgRecvPacket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request