pub enum TypeKind {
    Scalar,
    Object,
    Interface,
    Union,
    Enum,
    InputObject,
    List,
    NonNull,
}Expand description
The “kind” of a type
Variants§
Scalar
Represents scalar types such as Int, String, and Boolean.
Object
Object types represent concrete instantiations of sets of fields.
Interface
Interfaces are an abstract type where there are common fields declared.
Union
Unions are an abstract type where no common fields are declared.
Enum
Enums are special scalars that can only have a defined set of values.
InputObject
Input objects are composite types defined as a list of named input values.
List
Lists represent sequences of values in GraphQL. A List type is a type modifier: it wraps another type instance in the of_type field, which defines the type of each item in the list.
NonNull
GraphQL types are nullable by default. A Non-Null type is a type modifier: it wraps another type instance in the ofType field. Non-null types do not allow null as a response, and indicate required inputs for arguments and input object fields.