Struct fuels_types::message::Message
source · pub struct Message {
pub amount: u64,
pub sender: Bech32Address,
pub recipient: Bech32Address,
pub nonce: u64,
pub data: Vec<u8>,
pub da_height: u64,
pub fuel_block_spend: Option<u64>,
}
Fields§
§amount: u64
§sender: Bech32Address
§recipient: Bech32Address
§nonce: u64
§data: Vec<u8>
§da_height: u64
§fuel_block_spend: Option<u64>
Implementations§
source§impl Message
impl Message
pub fn message_id(&self) -> MessageId
Trait Implementations§
source§impl From<Message> for Message
impl From<Message> for Message
source§fn from(message: ClientMessage) -> Self
fn from(message: ClientMessage) -> Self
Converts to this type from the input type.
source§impl From<Message> for MessageConfig
impl From<Message> for MessageConfig
source§fn from(message: Message) -> MessageConfig
fn from(message: Message) -> MessageConfig
Converts to this type from the input type.