pub enum GqlEdgeValueType {
MaybeOne,
One,
Many,
}
Variants§
MaybeOne
Edge can potentially have one outward connection
One
Edge can have exactly one outward connection
Many
Edge can have many outward connections
Trait Implementations§
Source§impl Clone for GqlEdgeValueType
impl Clone for GqlEdgeValueType
Source§fn clone(&self) -> GqlEdgeValueType
fn clone(&self) -> GqlEdgeValueType
Returns a duplicate 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 GqlEdgeValueType
impl Debug for GqlEdgeValueType
Source§impl EnumType for GqlEdgeValueType
impl EnumType for GqlEdgeValueType
Source§fn items() -> &'static [EnumItem<GqlEdgeValueType>]
fn items() -> &'static [EnumItem<GqlEdgeValueType>]
Get a list of possible variants of the enum and their values.
Source§impl From<EdgeValueType> for GqlEdgeValueType
impl From<EdgeValueType> for GqlEdgeValueType
Source§fn from(value: EdgeValueType) -> Self
fn from(value: EdgeValueType) -> Self
Converts to this type from the input type.
Source§impl From<GqlEdgeValueType> for EdgeValueType
impl From<GqlEdgeValueType> for EdgeValueType
Source§fn from(value: GqlEdgeValueType) -> Self
fn from(value: GqlEdgeValueType) -> Self
Converts to this type from the input type.
Source§impl Hash for GqlEdgeValueType
impl Hash for GqlEdgeValueType
Source§impl InputType for GqlEdgeValueType
impl InputType for GqlEdgeValueType
Source§impl OutputType for GqlEdgeValueType
impl OutputType for GqlEdgeValueType
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§impl PartialEq for GqlEdgeValueType
impl PartialEq for GqlEdgeValueType
Source§impl Type for GqlEdgeValueType
impl Type for GqlEdgeValueType
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 qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl Copy for GqlEdgeValueType
impl Eq for GqlEdgeValueType
impl StructuralPartialEq for GqlEdgeValueType
Auto Trait Implementations§
impl Freeze for GqlEdgeValueType
impl RefUnwindSafe for GqlEdgeValueType
impl Send for GqlEdgeValueType
impl Sync for GqlEdgeValueType
impl Unpin for GqlEdgeValueType
impl UnwindSafe for GqlEdgeValueType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.