[][src]Enum graphql_rs_native::language::ast::AST

pub enum AST {
    Name(Box<Name>),
    Document(Box<Document>),
    OperationDefinition(Box<OperationDefinition>),
    VariableDefinition(Box<VariableDefinition>),
    Variable(Box<Variable>),
    SelectionSet(Box<SelectionSet>),
    Field(Box<Field>),
    Argument(Box<Argument>),
    FragmentSpread(Box<FragmentSpread>),
    InlineFragment(Box<InlineFragment>),
    FragmentDefinition(Box<FragmentDefinition>),
    IntValue(Box<IntValue>),
    FloatValue(Box<FloatValue>),
    StringValue(Box<StringValue>),
    BooleanValue(Box<BooleanValue>),
    NullValue(Box<NullValue>),
    EnumValue(Box<EnumValue>),
    ListValue(Box<ListValue>),
    ObjectValue(Box<ObjectValue>),
    ObjectField(Box<ObjectField>),
    Directive(Box<Directive>),
    NamedType(Box<NamedType>),
    ListType(Box<ListType>),
    NonNullType(Box<NonNullType>),
    SchemaDefinition(Box<SchemaDefinition>),
    OperationTypeDefinition(Box<OperationTypeDefinition>),
    ScalarTypeDefinition(Box<ScalarTypeDefinition>),
    ObjectTypeDefinition(Box<ObjectTypeDefinition>),
    FieldDefinition(Box<FieldDefinition>),
    InputValueDefinition(Box<InputValueDefinition>),
    InterfaceTypeDefinition(Box<InterfaceTypeDefinition>),
    UnionTypeDefinition(Box<UnionTypeDefinition>),
    EnumTypeDefinition(Box<EnumTypeDefinition>),
    EnumValueDefinition(Box<EnumValueDefinition>),
    InputObjectTypeDefinition(Box<InputObjectTypeDefinition>),
    DirectiveDefinition(Box<DirectiveDefinition>),
    SchemaExtension(Box<SchemaExtension>),
    ScalarTypeExtension(Box<ScalarTypeExtension>),
    ObjectTypeExtension(Box<ObjectTypeExtension>),
    InterfaceTypeExtension(Box<InterfaceTypeExtension>),
    UnionTypeExtension(Box<UnionTypeExtension>),
    EnumTypeExtension(Box<EnumTypeExtension>),
    InputObjectTypeExtension(Box<InputObjectTypeExtension>),
}

The list of all possible AST node types.

Variants

Name(Box<Name>)Document(Box<Document>)OperationDefinition(Box<OperationDefinition>)VariableDefinition(Box<VariableDefinition>)Variable(Box<Variable>)SelectionSet(Box<SelectionSet>)Field(Box<Field>)Argument(Box<Argument>)FragmentSpread(Box<FragmentSpread>)InlineFragment(Box<InlineFragment>)FragmentDefinition(Box<FragmentDefinition>)IntValue(Box<IntValue>)FloatValue(Box<FloatValue>)StringValue(Box<StringValue>)BooleanValue(Box<BooleanValue>)NullValue(Box<NullValue>)EnumValue(Box<EnumValue>)ListValue(Box<ListValue>)ObjectValue(Box<ObjectValue>)ObjectField(Box<ObjectField>)Directive(Box<Directive>)NamedType(Box<NamedType>)ListType(Box<ListType>)NonNullType(Box<NonNullType>)SchemaDefinition(Box<SchemaDefinition>)OperationTypeDefinition(Box<OperationTypeDefinition>)ScalarTypeDefinition(Box<ScalarTypeDefinition>)ObjectTypeDefinition(Box<ObjectTypeDefinition>)FieldDefinition(Box<FieldDefinition>)InputValueDefinition(Box<InputValueDefinition>)InterfaceTypeDefinition(Box<InterfaceTypeDefinition>)UnionTypeDefinition(Box<UnionTypeDefinition>)EnumTypeDefinition(Box<EnumTypeDefinition>)EnumValueDefinition(Box<EnumValueDefinition>)InputObjectTypeDefinition(Box<InputObjectTypeDefinition>)DirectiveDefinition(Box<DirectiveDefinition>)SchemaExtension(Box<SchemaExtension>)ScalarTypeExtension(Box<ScalarTypeExtension>)ObjectTypeExtension(Box<ObjectTypeExtension>)InterfaceTypeExtension(Box<InterfaceTypeExtension>)UnionTypeExtension(Box<UnionTypeExtension>)EnumTypeExtension(Box<EnumTypeExtension>)InputObjectTypeExtension(Box<InputObjectTypeExtension>)

Trait Implementations

impl PartialEq<AST> for AST[src]

impl Debug for AST[src]

impl Serialize for AST[src]

impl<'de> Deserialize<'de> for AST[src]

Auto Trait Implementations

impl Send for AST

impl Sync for AST

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]