Docs.rs
  • async-graphql-parser-7.0.17
    • async-graphql-parser 7.0.17
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sunli829
    • Dependencies
      • async-graphql-value ^7.0.17 normal
      • pest ^2.7.11 normal
      • serde ^1.0.197 normal
      • serde_json ^1.0.115 normal
      • pest_generator ^2.7.8 dev
      • proc-macro2 ^1.0.79 dev
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate async_graphql_parser

async_graphql_parser7.0.17

  • All Items

Crate Items

  • Modules
  • Structs
  • Enums
  • Functions
  • Type Aliases

Crates

  • async_graphql_parser

Crate async_graphql_parser

Source
Expand description

A parser for GraphQL. Used in the async-graphql crate.

It uses the pest crate to parse the input and then transforms it into Rust types.

Modules§

types
GraphQL types.

Structs§

ErrorPositions
An iterator over the positions inside an error.
Pos
Original position of an element in source code.
Positioned
An AST node that stores its original position.

Enums§

Error
Parser error.

Functions§

parse_query
Parse a GraphQL query document.
parse_schema
Parse a GraphQL schema document.

Type Aliases§

Result
An alias for Result<T, Error>.

Results

Settings
Help

Type "InputFieldDefinition" not found. Showing results for closest type name "inputvaluedefinition" instead.

    enum variant
    async_graphql_parser::types::DirectiveLocation::InputFieldDefinition
    An input value definition on an input object but not a …
    struct field
    async_graphql_parser::types::InputValueDefinition::ty
    InputValueDefinition -> Positioned
    The type of the argument.
    struct field
    async_graphql_parser::types::InputValueDefinition::name
    InputValueDefinition -> Positioned
    The name of the argument.
    struct field
    async_graphql_parser::types::InputValueDefinition::directives
    InputValueDefinition -> Vec
    The directives of the input value.
    struct field
    async_graphql_parser::types::InputValueDefinition::description
    InputValueDefinition -> Option
    The description of the argument.
    struct field
    async_graphql_parser::types::InputValueDefinition::default_value
    InputValueDefinition -> Option
    The default value of the argument, if there is one.
    method
    async_graphql_parser::types::InputValueDefinition::clone
    &InputValueDefinition -> InputValueDefinition
    method
    async_graphql_parser::types::InputValueDefinition::fmt
    &InputValueDefinition, &mut Formatter -> Result
    method
    async_graphql_parser::types::InputValueDefinition::clone
    &InputValueDefinition -> InputValueDefinition