Struct graphql_config::GraphQLProjectConfiguration [−][src]
pub struct GraphQLProjectConfiguration { pub name: Option<String>, pub schema_path: Option<PathBuf>, pub includes: Option<Vec<String>>, pub excludes: Option<Vec<String>>, pub extensions: Option<BTreeMap<String, Value>>, }
The top-level configuration and project-specific configurations share this shape.
Fields
name: Option<String>
The name of the project. The specification says this should default to the key of the project object if absent, this this not enforced.
schema_path: Option<PathBuf>
A file with schema IDL.
includes: Option<Vec<String>>
For multiple applications with overlapping files, these configuration options may be helpful.
excludes: Option<Vec<String>>
For multiple applications with overlapping files, these configuration options may be helpful.
extensions: Option<BTreeMap<String, Value>>
If you'd like to specify any other configurations, graphql-config provides a reserved namespace for it.
Trait Implementations
impl PartialEq for GraphQLProjectConfiguration
[src]
impl PartialEq for GraphQLProjectConfiguration
fn eq(&self, other: &GraphQLProjectConfiguration) -> bool
[src]
fn eq(&self, other: &GraphQLProjectConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GraphQLProjectConfiguration) -> bool
[src]
fn ne(&self, other: &GraphQLProjectConfiguration) -> bool
This method tests for !=
.
impl Debug for GraphQLProjectConfiguration
[src]
impl Debug for GraphQLProjectConfiguration
Auto Trait Implementations
impl Send for GraphQLProjectConfiguration
impl Send for GraphQLProjectConfiguration
impl Sync for GraphQLProjectConfiguration
impl Sync for GraphQLProjectConfiguration