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.