Crate graphql_client[][src]

The top-level documentation resides on the project README at the moment.

The main interface to this library is the custom derive that generates modules from a GraphQL query and schema. See the docs for the GraphQLQuery trait for a full example.

Re-exports

pub extern crate graphql_query_derive;

Structs

GraphQLError

An element in the top-level errors array of a response body.

GraphQLQueryBody

The form in which queries are sent over HTTP in most implementations. This will be built using the GraphQLQuery trait normally.

GraphQLResponse

The generic shape taken by the responses of GraphQL APIs.

Location

Represents a location inside a query string. Used in errors. See GraphQLError.

Enums

PathFragment

Part of a path in a query. It can be an object key or an array index. See GraphQLError.

Traits

GraphQLQuery

A convenience trait that can be used to build a GraphQL request body.