Struct fuels_types::message_proof::MessageProof
source · pub struct MessageProof {
pub message_proof: MerkleProof,
pub block_proof: MerkleProof,
pub message_block_header: Header,
pub commit_block_header: Header,
pub sender: Bech32Address,
pub recipient: Bech32Address,
pub nonce: Nonce,
pub amount: u64,
pub data: Vec<u8>,
}
Fields§
§message_proof: MerkleProof
Proof that message is contained within the provided block header.
block_proof: MerkleProof
Proof that the provided block header is contained within the blockchain history.
message_block_header: Header
The previous fuel block header that contains the message. Message block height < commit block height.
commit_block_header: Header
The consensus header associated with the finalized commit being used as the root of the block proof.
sender: Bech32Address
§recipient: Bech32Address
§nonce: Nonce
§amount: u64
§data: Vec<u8>
Trait Implementations§
source§impl Debug for MessageProof
impl Debug for MessageProof
source§impl From<MessageProof> for MessageProof
impl From<MessageProof> for MessageProof
source§fn from(client_message_proof: ClientMessageProof) -> Self
fn from(client_message_proof: ClientMessageProof) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MessageProof
impl Send for MessageProof
impl Sync for MessageProof
impl Unpin for MessageProof
impl UnwindSafe for MessageProof
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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