Docs.rs
  • async-graphql-value-6.0.9
    • async-graphql-value 6.0.9
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sunli829
    • Dependencies
      • bytes ^1.0.1 normal
      • indexmap ^2 normal
      • serde ^1.0.125 normal
      • serde_json ^1.0.64 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

Crate async_graphql_value

async_graphql_value6.0.9

  • All Items
  • Macros
  • Structs
  • Enums
  • Functions

Crates

  • async_graphql_value
?
Change settings

Crate async_graphql_value

source ·
Expand description

Value for GraphQL. Used in the async-graphql crate.

Macros

  • value
    Construct a ConstValue.

Structs

  • DeserializerError
    This type represents errors that can occur when deserializing.
  • Name
    A GraphQL name.
  • Number
    Represents a JSON number, whether integer or floating point.
  • SerializerError
    This type represents errors that can occur when serializing.
  • Variables
    Variables of a query.

Enums

  • ConstValue
    A resolved GraphQL value, for example 1 or "Hello World!".
  • Value
    A GraphQL value, for example 1, $name or "Hello World!". This is ConstValue with variables.

Functions

  • from_value
    Interpret a ConstValue as an instance of type T.
  • to_value
    Convert a T into ConstValue which is an enum that can represent any valid GraphQL data.

Results

Query parser error: "Unexpected - (did you mean ->?)".