Enum seaography::OrderByEnum
source · pub enum OrderByEnum {
Asc,
Desc,
}
Variants§
Trait Implementations§
source§impl Clone for OrderByEnum
impl Clone for OrderByEnum
source§fn clone(&self) -> OrderByEnum
fn clone(&self) -> OrderByEnum
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 OrderByEnum
impl Debug for OrderByEnum
source§impl EnumType for OrderByEnum
impl EnumType for OrderByEnum
source§fn items() -> &'static [EnumItem<OrderByEnum>]
fn items() -> &'static [EnumItem<OrderByEnum>]
Get a list of possible variants of the enum and their values.
source§impl From<OrderByEnum> for Value
impl From<OrderByEnum> for Value
source§fn from(value: OrderByEnum) -> Value
fn from(value: OrderByEnum) -> Value
Converts to this type from the input type.
source§impl InputType for OrderByEnum
impl InputType for OrderByEnum
§type RawValueType = OrderByEnum
type RawValueType = OrderByEnum
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 OrderByEnum
impl OutputType for OrderByEnum
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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: '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<OrderByEnum> for OrderByEnum
impl PartialEq<OrderByEnum> for OrderByEnum
source§fn eq(&self, other: &OrderByEnum) -> bool
fn eq(&self, other: &OrderByEnum) -> bool
impl Copy for OrderByEnum
impl Eq for OrderByEnum
impl StructuralEq for OrderByEnum
impl StructuralPartialEq for OrderByEnum
Auto Trait Implementations§
impl RefUnwindSafe for OrderByEnum
impl Send for OrderByEnum
impl Sync for OrderByEnum
impl Unpin for OrderByEnum
impl UnwindSafe for OrderByEnum
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.