Docs.rs
  • async-graphql-value-7.0.17
    • async-graphql-value 7.0.17
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sunli829
    • Dependencies
      • bytes ^1.6.0 normal
      • indexmap ^2 normal
      • serde ^1.0.197 normal
      • serde_json ^1.0.115 normal
    • 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
    • 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_value7.0.17

  • All Items

Crate Items

  • Macros
  • Structs
  • Enums
  • Functions

Crates

  • async_graphql_value

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.
Extensions
Extensions of a query.
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

Settings
Help

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