pub struct Message {
pub message_id: MessageId,
pub amount: U64,
pub sender: Address,
pub recipient: Address,
pub nonce: U64,
pub data: HexString,
pub da_height: U64,
pub fuel_block_spend: Option<U64>,
}
Fields§
§message_id: MessageId
§amount: U64
§sender: Address
§recipient: Address
§nonce: U64
§data: HexString
§da_height: U64
§fuel_block_spend: Option<U64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
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 Message
impl<'de> QueryFragment<'de> for Message
§type SchemaType = Message
type SchemaType = Message
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