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>)
Tuple Fields
The definition of the schema of the service.
Type(Positioned<TypeDefinition>)
Tuple Fields
The definition of a type in the service.
Directive(Positioned<DirectiveDefinition>)
Tuple Fields
The definition of a directive in the service.
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