Enum fuel_core::schema::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 EnumType for CoinStatus
impl EnumType for CoinStatus
source§fn items() -> &'static [EnumItem<CoinStatus>]
fn items() -> &'static [EnumItem<CoinStatus>]
Get a list of possible variants of the enum and their values.
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 From<CoinStatus> for Value
impl From<CoinStatus> for Value
source§fn from(value: CoinStatus) -> Value
fn from(value: CoinStatus) -> Value
Converts to this type from the input type.
source§impl InputType for CoinStatus
impl InputType for CoinStatus
§type RawValueType = CoinStatus
type RawValueType = CoinStatus
The raw type used for validator. Read more
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value
. None represents undefined.source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
source§impl OutputType for CoinStatus
impl OutputType for CoinStatus
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Resolve an output value to
async_graphql::Value
.source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
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 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.