Enum fuel_core_interfaces::model::CoinStatus
source · #[repr(u8)]
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 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 ==
.source§impl PartialOrd<CoinStatus> for CoinStatus
impl PartialOrd<CoinStatus> for CoinStatus
source§fn partial_cmp(&self, other: &CoinStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &CoinStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more