Enum async_graphql_parser::types::DirectiveLocation [−][src]
pub enum DirectiveLocation {
Show variants
Query,
Mutation,
Subscription,
Field,
FragmentDefinition,
FragmentSpread,
InlineFragment,
Schema,
Scalar,
Object,
FieldDefinition,
ArgumentDefinition,
Interface,
Union,
Enum,
EnumValue,
InputObject,
InputFieldDefinition,
}Expand description
Where a directive can apply to.
Variants
A field.
An inline fragment.
A schema.
A scalar.
An object.
An input value definition as the arguments of a field but not an input object.
An interface.
A union.
An enum.
An input object.
An input value definition on an input object but not a field.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DirectiveLocationimpl Send for DirectiveLocationimpl Sync for DirectiveLocationimpl Unpin for DirectiveLocationimpl UnwindSafe for DirectiveLocationBlanket Implementations
Mutably borrows from an owned value. Read more