Docs.rs
  • async-graphql-parser-2.0.5
    • async-graphql-parser 2.0.5
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sunli829
    • Dependencies
      • async-graphql-value =2.0.5 normal
      • pest ^2.1.3 normal
      • pest_derive ^2.1.0 normal
      • serde ^1.0.115 normal
      • serde_json ^1.0.57 normal
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • 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
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
☰
logo

Crate async_graphql_parser

Version 2.0.5

See all async_graphql_parser's items

  • Modules
  • Structs
  • Enums
  • Functions
  • Type Definitions

Crates

  • async_graphql_parser
? Change settings

[−][src]Crate async_graphql_parser

[−] 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 Definitions

Result

An alias for Result<T, Error>.

Results for Value

In Names
(8)
In Parameters
(0)
In Return Types
(0)
async_graphql_parser::types::EnumValueDefinition::valueThe value name. 
async_graphql_parser::types::EnumType::valuesThe possible values of the enum. 
async_graphql_parser::types::DirectiveLocation::EnumValueA value on an enum. 
async_graphql_parser::types::VariableDefinition::default_valueGet the default value of the variable; this is… 
async_graphql_parser::types::VariableDefinition::default_valueThe optional default value of the variable. 
async_graphql_parser::types::InputValueDefinition::default_valueThe default value of the argument, if there is one. 
async_graphql_parser::types::EnumValueDefinitionThe definition of a value inside an enum. 
async_graphql_parser::types::InputValueDefinitionThe definition of an input value inside the arguments of a… 
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.