Struct fuel_core_chain_config::config::MessageConfig
source · pub struct MessageConfig {
pub sender: Address,
pub recipient: Address,
pub nonce: Nonce,
pub amount: Word,
pub data: Vec<u8>,
pub da_height: DaBlockHeight,
}
Fields§
§sender: Address
§recipient: Address
§nonce: Nonce
§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 ==
.source§impl Serialize for MessageConfig
impl Serialize for MessageConfig
impl Eq for MessageConfig
impl StructuralEq for MessageConfig
impl StructuralPartialEq for MessageConfig
Auto Trait Implementations§
impl RefUnwindSafe for MessageConfig
impl Send for MessageConfig
impl Sync for MessageConfig
impl Unpin for MessageConfig
impl UnwindSafe for MessageConfig
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more