Enum apollo_parser::ast::Definition
source · [−]pub enum Definition {
Show 17 variants
OperationDefinition(OperationDefinition),
FragmentDefinition(FragmentDefinition),
DirectiveDefinition(DirectiveDefinition),
SchemaDefinition(SchemaDefinition),
ScalarTypeDefinition(ScalarTypeDefinition),
ObjectTypeDefinition(ObjectTypeDefinition),
InterfaceTypeDefinition(InterfaceTypeDefinition),
UnionTypeDefinition(UnionTypeDefinition),
EnumTypeDefinition(EnumTypeDefinition),
InputObjectTypeDefinition(InputObjectTypeDefinition),
SchemaExtension(SchemaExtension),
ScalarTypeExtension(ScalarTypeExtension),
ObjectTypeExtension(ObjectTypeExtension),
InterfaceTypeExtension(InterfaceTypeExtension),
UnionTypeExtension(UnionTypeExtension),
EnumTypeExtension(EnumTypeExtension),
InputObjectTypeExtension(InputObjectTypeExtension),
}
Variants
OperationDefinition(OperationDefinition)
FragmentDefinition(FragmentDefinition)
DirectiveDefinition(DirectiveDefinition)
SchemaDefinition(SchemaDefinition)
ScalarTypeDefinition(ScalarTypeDefinition)
ObjectTypeDefinition(ObjectTypeDefinition)
InterfaceTypeDefinition(InterfaceTypeDefinition)
UnionTypeDefinition(UnionTypeDefinition)
EnumTypeDefinition(EnumTypeDefinition)
InputObjectTypeDefinition(InputObjectTypeDefinition)
SchemaExtension(SchemaExtension)
ScalarTypeExtension(ScalarTypeExtension)
ObjectTypeExtension(ObjectTypeExtension)
InterfaceTypeExtension(InterfaceTypeExtension)
UnionTypeExtension(UnionTypeExtension)
EnumTypeExtension(EnumTypeExtension)
InputObjectTypeExtension(InputObjectTypeExtension)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for Definition
impl !Send for Definition
impl !Sync for Definition
impl Unpin for Definition
impl !UnwindSafe for Definition
Blanket Implementations
Mutably borrows from an owned value. Read more