Struct MsgAcknowledgement
pub struct MsgAcknowledgement {
pub packet: Packet,
pub acknowledgement: Vec<u8>,
pub proof_acked_on_b: MerkleProof,
pub proof_height_on_b: Height,
pub signer: String,
}
Expand description
Message definition for packet acknowledgements.
Fields§
§packet: Packet
§acknowledgement: Vec<u8>
§proof_acked_on_b: MerkleProof
Proof of packet acknowledgement on the receiving chain
proof_height_on_b: Height
Height at which the commitment proof in this message were taken
signer: String
Trait Implementations§
§impl Clone for MsgAcknowledgement
impl Clone for MsgAcknowledgement
§fn clone(&self) -> MsgAcknowledgement
fn clone(&self) -> MsgAcknowledgement
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 MsgAcknowledgement
impl Debug for MsgAcknowledgement
§impl DomainType for MsgAcknowledgement
impl DomainType for MsgAcknowledgement
§impl PartialEq for MsgAcknowledgement
impl PartialEq for MsgAcknowledgement
§impl TryFrom<MsgAcknowledgement> for MsgAcknowledgement
impl TryFrom<MsgAcknowledgement> for MsgAcknowledgement
§type Error = PacketError
type Error = PacketError
The type returned in the event of a conversion error.
§fn try_from(
raw_msg: MsgAcknowledgement,
) -> Result<MsgAcknowledgement, <MsgAcknowledgement as TryFrom<MsgAcknowledgement>>::Error>
fn try_from( raw_msg: MsgAcknowledgement, ) -> Result<MsgAcknowledgement, <MsgAcknowledgement as TryFrom<MsgAcknowledgement>>::Error>
Performs the conversion.
impl StructuralPartialEq for MsgAcknowledgement
Auto Trait Implementations§
impl Freeze for MsgAcknowledgement
impl RefUnwindSafe for MsgAcknowledgement
impl Send for MsgAcknowledgement
impl Sync for MsgAcknowledgement
impl Unpin for MsgAcknowledgement
impl UnwindSafe for MsgAcknowledgement
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