Struct graphql_config::GraphQLConfiguration[][src]

pub struct GraphQLConfiguration {
    pub projects: Option<BTreeMap<String, GraphQLProjectConfiguration>>,
    pub root: GraphQLProjectConfiguration,
}

GraphQLConfiguration is the type of the whole JSON document. It contains the top-level configuration (which serializes in the root field) and also optionally project-specific configuration in the projects field. The shapes of the top-level configuration and project-specific configurations are exactly the same.

Fields

A BTreeMap of project names as strings to GraphQLProjectConfiguration. Names of projects are not snake-cased during deserialization.

Top-level configuration goes into root.

Trait Implementations

impl PartialEq for GraphQLConfiguration
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for GraphQLConfiguration
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations