Enum async_graphql_parser::types::TypeSystemDefinition [−][src]
pub enum TypeSystemDefinition {
Schema(Positioned<SchemaDefinition>),
Type(Positioned<TypeDefinition>),
Directive(Positioned<DirectiveDefinition>),
}
Expand description
A definition concerning the type system of a GraphQL service.
Reference. This enum also covers extensions.
Variants
Schema(Positioned<SchemaDefinition>)
The definition of the schema of the service.
Tuple Fields of Schema
Type(Positioned<TypeDefinition>)
The definition of a type in the service.
Tuple Fields of Type
Directive(Positioned<DirectiveDefinition>)
The definition of a directive in the service.
Tuple Fields of Directive
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeSystemDefinition
impl Send for TypeSystemDefinition
impl Sync for TypeSystemDefinition
impl Unpin for TypeSystemDefinition
impl UnwindSafe for TypeSystemDefinition
Blanket Implementations
Mutably borrows from an owned value. Read more