Struct fuels_types::message::Message
source · pub struct Message {
pub amount: u64,
pub sender: Bech32Address,
pub recipient: Bech32Address,
pub nonce: Nonce,
pub data: Vec<u8>,
pub da_height: u64,
pub status: MessageStatus,
}
Fields§
§amount: u64
§sender: Bech32Address
§recipient: Bech32Address
§nonce: Nonce
§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.
source§impl From<MessageCoin> for Message
impl From<MessageCoin> for Message
source§fn from(message: ClientMessageCoin) -> Self
fn from(message: ClientMessageCoin) -> Self
Converts to this type from the input type.
source§impl PartialEq<Message> for Message
impl PartialEq<Message> for Message
impl Eq for Message
impl StructuralEq for Message
impl StructuralPartialEq for Message
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
.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
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.