Enum fuel_core::schema::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 EnumType for MessageStatus
impl EnumType for MessageStatus
source§fn items() -> &'static [EnumItem<MessageStatus>]
fn items() -> &'static [EnumItem<MessageStatus>]
Get a list of possible variants of the enum and their values.
source§impl From<MessageStatus> for MessageStatus
impl From<MessageStatus> for MessageStatus
source§fn from(value: MessageStatus) -> Self
fn from(value: MessageStatus) -> Self
Converts to this type from the input type.
source§impl From<MessageStatus> for MessageStatus
impl From<MessageStatus> for MessageStatus
source§fn from(value: MessageStatus) -> Self
fn from(value: MessageStatus) -> Self
Converts to this type from the input type.
source§impl From<MessageStatus> for Value
impl From<MessageStatus> for Value
source§fn from(value: MessageStatus) -> Value
fn from(value: MessageStatus) -> Value
Converts to this type from the input type.
source§impl InputType for MessageStatus
impl InputType for MessageStatus
§type RawValueType = MessageStatus
type RawValueType = MessageStatus
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 MessageStatus
impl OutputType for MessageStatus
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,
_: &'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, _: &'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<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 Copy for MessageStatus
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§
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.