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 status: MessageStatus,
}
Fields§
§amount: u64
§sender: Bech32Address
§recipient: Bech32Address
§nonce: u64
§data: Vec<u8>
§da_height: u64
§status: MessageStatus
Implementations§
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.
Auto Trait Implementations§
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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
.