Struct fuel_core_client::client::schema::message::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: Address,
pub recipient: Address,
pub nonce: Nonce,
pub amount: U64,
pub data: HexString,
}
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: Address
The messages sender address.
recipient: Address
The messages recipient address.
nonce: Nonce
The nonce from the message.
amount: U64
The amount from the message.
data: HexString
The data from the message.
Trait Implementations§
source§impl Debug for MessageProof
impl Debug for MessageProof
source§impl<'de> Deserialize<'de> for MessageProof
impl<'de> Deserialize<'de> for MessageProof
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'de> QueryFragment<'de> for MessageProof
impl<'de> QueryFragment<'de> for MessageProof
§type SchemaType = MessageProof
type SchemaType = MessageProof
The type in a schema that this
QueryFragment
representssource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
Adds this fragment to the query being built by
builder
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