Struct fuel_tx::input::message::specifications::MessageData
source · pub struct MessageData<UsageRules>(_);
Expand description
The retrayable message metadata. It is a message that can’t be used as a coin to pay for
fees but can be used to pass metadata to the contract. It may have a non-zero value
that will be transferred to the contract as a native asset during the execution.
If the execution of the transaction fails, the metadata is not consumed and can be
used later until successful execution.
Trait Implementations§
source§impl<UsageRules: Clone> Clone for MessageData<UsageRules>
impl<UsageRules: Clone> Clone for MessageData<UsageRules>
source§fn clone(&self) -> MessageData<UsageRules>
fn clone(&self) -> MessageData<UsageRules>
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<UsageRules: Debug> Debug for MessageData<UsageRules>
impl<UsageRules: Debug> Debug for MessageData<UsageRules>
source§impl<UsageRules: Default> Default for MessageData<UsageRules>
impl<UsageRules: Default> Default for MessageData<UsageRules>
source§fn default() -> MessageData<UsageRules>
fn default() -> MessageData<UsageRules>
Returns the “default value” for a type. Read more
source§impl<UsageRules: Hash> Hash for MessageData<UsageRules>
impl<UsageRules: Hash> Hash for MessageData<UsageRules>
source§impl MessageSpecification for MessageData<Predicate>
impl MessageSpecification for MessageData<Predicate>
source§impl MessageSpecification for MessageData<Signed>
impl MessageSpecification for MessageData<Signed>
source§impl<UsageRules: PartialEq> PartialEq<MessageData<UsageRules>> for MessageData<UsageRules>
impl<UsageRules: PartialEq> PartialEq<MessageData<UsageRules>> for MessageData<UsageRules>
source§fn eq(&self, other: &MessageData<UsageRules>) -> bool
fn eq(&self, other: &MessageData<UsageRules>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<UsageRules: Eq> Eq for MessageData<UsageRules>
impl<UsageRules> StructuralEq for MessageData<UsageRules>
impl<UsageRules> StructuralPartialEq for MessageData<UsageRules>
Auto Trait Implementations§
impl<UsageRules> RefUnwindSafe for MessageData<UsageRules>where UsageRules: RefUnwindSafe,
impl<UsageRules> Send for MessageData<UsageRules>where UsageRules: Send,
impl<UsageRules> Sync for MessageData<UsageRules>where UsageRules: Sync,
impl<UsageRules> Unpin for MessageData<UsageRules>where UsageRules: Unpin,
impl<UsageRules> UnwindSafe for MessageData<UsageRules>where UsageRules: UnwindSafe,
Blanket Implementations§
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