Struct fuel_chain_config::config::MessageConfig
source · pub struct MessageConfig {
pub sender: Address,
pub recipient: Address,
pub nonce: Word,
pub amount: Word,
pub data: Vec<u8>,
pub da_height: DaBlockHeight,
}
Fields§
§sender: Address
§recipient: Address
§nonce: Word
§amount: Word
§data: Vec<u8>
§da_height: DaBlockHeight
The block height from the parent da layer that originated this message
Trait Implementations§
source§impl Clone for MessageConfig
impl Clone for MessageConfig
source§fn clone(&self) -> MessageConfig
fn clone(&self) -> MessageConfig
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 moresource§impl Debug for MessageConfig
impl Debug for MessageConfig
source§impl Default for MessageConfig
impl Default for MessageConfig
source§fn default() -> MessageConfig
fn default() -> MessageConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessageConfig
impl<'de> Deserialize<'de> for MessageConfig
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 From<MessageConfig> for Message
impl From<MessageConfig> for Message
source§fn from(msg: MessageConfig) -> Self
fn from(msg: MessageConfig) -> Self
Converts to this type from the input type.
source§impl PartialEq<MessageConfig> for MessageConfig
impl PartialEq<MessageConfig> for MessageConfig
source§fn eq(&self, other: &MessageConfig) -> bool
fn eq(&self, other: &MessageConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.