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
projects: Option<BTreeMap<String, GraphQLProjectConfiguration>>
A BTreeMap
of project names as strings to GraphQLProjectConfiguration
.
Names of projects are not snake-cased during deserialization.
root: GraphQLProjectConfiguration
Top-level configuration goes into root
.
Trait Implementations
impl PartialEq for GraphQLConfiguration
[src]
impl PartialEq for GraphQLConfiguration
fn eq(&self, other: &GraphQLConfiguration) -> bool
[src]
fn eq(&self, other: &GraphQLConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GraphQLConfiguration) -> bool
[src]
fn ne(&self, other: &GraphQLConfiguration) -> bool
This method tests for !=
.
impl Debug for GraphQLConfiguration
[src]
impl Debug for GraphQLConfiguration
Auto Trait Implementations
impl Send for GraphQLConfiguration
impl Send for GraphQLConfiguration
impl Sync for GraphQLConfiguration
impl Sync for GraphQLConfiguration