Enum fuels_types::message::MessageStatus
source · pub enum MessageStatus {
Unspent,
Spent,
}
Variants§
Trait Implementations§
source§impl Clone for MessageStatus
impl Clone for MessageStatus
source§fn clone(&self) -> MessageStatus
fn clone(&self) -> MessageStatus
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 MessageStatus
impl Debug for MessageStatus
source§impl Default for MessageStatus
impl Default for MessageStatus
source§fn default() -> MessageStatus
fn default() -> MessageStatus
Returns the “default value” for a type. Read more
source§impl Hash for MessageStatus
impl Hash for MessageStatus
source§impl PartialEq<MessageStatus> for MessageStatus
impl PartialEq<MessageStatus> for MessageStatus
source§fn eq(&self, other: &MessageStatus) -> bool
fn eq(&self, other: &MessageStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MessageStatus
impl StructuralEq for MessageStatus
impl StructuralPartialEq for MessageStatus
Auto Trait Implementations§
impl RefUnwindSafe for MessageStatus
impl Send for MessageStatus
impl Sync for MessageStatus
impl Unpin for MessageStatus
impl UnwindSafe for MessageStatus
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.