pub struct GraphQLConfiguration {
pub projects: Option<BTreeMap<String, GraphQLProjectConfiguration>>,
pub root: GraphQLProjectConfiguration,
}
Expand description
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§
Source§impl Debug for GraphQLConfiguration
impl Debug for GraphQLConfiguration
Source§impl<'de> Deserialize<'de> for GraphQLConfiguration
impl<'de> Deserialize<'de> for GraphQLConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GraphQLConfiguration
impl PartialEq for GraphQLConfiguration
Source§impl Serialize for GraphQLConfiguration
impl Serialize for GraphQLConfiguration
impl StructuralPartialEq for GraphQLConfiguration
Auto Trait Implementations§
impl Freeze for GraphQLConfiguration
impl RefUnwindSafe for GraphQLConfiguration
impl Send for GraphQLConfiguration
impl Sync for GraphQLConfiguration
impl Unpin for GraphQLConfiguration
impl UnwindSafe for GraphQLConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more