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.
Type(Positioned<TypeDefinition>)The definition of a type in the service.
Directive(Positioned<DirectiveDefinition>)The definition of a directive in the service.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeSystemDefinitionimpl Send for TypeSystemDefinitionimpl Sync for TypeSystemDefinitionimpl Unpin for TypeSystemDefinitionimpl UnwindSafe for TypeSystemDefinitionBlanket Implementations
Mutably borrows from an owned value. Read more