Expand description
Value for GraphQL. Used in the async-graphql
crate.
Macros§
- value
- Construct a
ConstValue
.
Structs§
- Deserializer
Error - 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.
- Serializer
Error - This type represents errors that can occur when serializing.
- Variables
- Variables of a query.
Enums§
- Const
Value - A resolved GraphQL value, for example
1
or"Hello World!"
. - Value
- A GraphQL value, for example
1
,$name
or"Hello World!"
. This isConstValue
with variables.
Functions§
- from_
value - Interpret a
ConstValue
as an instance of typeT
. - to_
value - Convert a
T
intoConstValue
which is an enum that can represent any valid GraphQL data.