Enum fuel_core::model::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<'de> Deserialize<'de> for CoinStatus
impl<'de> Deserialize<'de> for CoinStatus
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CoinStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CoinStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<CoinStatus> for CoinStatus
impl From<CoinStatus> for CoinStatus
source§fn from(value: CoinStatusModel) -> Self
fn from(value: CoinStatusModel) -> Self
Converts to this type from the input type.
source§impl From<CoinStatus> for CoinStatusModel
impl From<CoinStatus> for CoinStatusModel
source§fn from(value: CoinStatus) -> Self
fn from(value: CoinStatus) -> Self
Converts to this type from the input type.
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 moresource§impl Serialize for CoinStatus
impl Serialize for CoinStatus
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CoinStatus
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§
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.