Enum graphql_tools::static_graphql::schema::TypeDefinition [−][src]
pub enum TypeDefinition<'a, T> where
T: Text<'a>, {
Scalar(ScalarType<'a, T>),
Object(ObjectType<'a, T>),
Interface(InterfaceType<'a, T>),
Union(UnionType<'a, T>),
Enum(EnumType<'a, T>),
InputObject(InputObjectType<'a, T>),
}Variants
Scalar(ScalarType<'a, T>)
Tuple Fields
0: ScalarType<'a, T>Object(ObjectType<'a, T>)
Tuple Fields
0: ObjectType<'a, T>Interface(InterfaceType<'a, T>)
Tuple Fields
0: InterfaceType<'a, T>Union(UnionType<'a, T>)
Tuple Fields
0: UnionType<'a, T>Enum(EnumType<'a, T>)
Tuple Fields
0: EnumType<'a, T>InputObject(InputObjectType<'a, T>)
Tuple Fields
0: InputObjectType<'a, T>Trait Implementations
impl<'a, T> PartialEq<TypeDefinition<'a, T>> for TypeDefinition<'a, T> where
T: PartialEq<T> + Text<'a>,
impl<'a, T> PartialEq<TypeDefinition<'a, T>> for TypeDefinition<'a, T> where
T: PartialEq<T> + Text<'a>,
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for TypeDefinition<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for TypeDefinition<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for TypeDefinition<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for TypeDefinition<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for TypeDefinition<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
