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