[−][src]Trait tsukuyomi_juniper::Schema
A marker trait representing a root node of GraphQL schema.
Associated Types
type Query: GraphQLType<S, Context = Self::Context, TypeInfo = Self::QueryInfo>
type QueryInfo
type Mutation: GraphQLType<S, Context = Self::Context, TypeInfo = Self::MutationInfo>
type MutationInfo
type Context
Required methods
fn as_root_node(&self) -> &RootNode<'static, Self::Query, Self::Mutation, S>
Implementations on Foreign Types
impl<QueryT, MutationT, CtxT, S> Schema<S> for RootNode<'static, QueryT, MutationT, S> where
QueryT: GraphQLType<S, Context = CtxT>,
MutationT: GraphQLType<S, Context = CtxT>,
S: ScalarValue,
&'a S: ScalarRefValue<'a>,
[src]
QueryT: GraphQLType<S, Context = CtxT>,
MutationT: GraphQLType<S, Context = CtxT>,
S: ScalarValue,
&'a S: ScalarRefValue<'a>,
type Query = QueryT
type QueryInfo = QueryT::TypeInfo
type Mutation = MutationT
type MutationInfo = MutationT::TypeInfo
type Context = CtxT
fn as_root_node(&self) -> &RootNode<'static, Self::Query, Self::Mutation, S>
[src]
impl<T, S> Schema<S> for Box<T> where
T: Schema<S>,
S: ScalarValue,
&'a S: ScalarRefValue<'a>,
[src]
T: Schema<S>,
S: ScalarValue,
&'a S: ScalarRefValue<'a>,
type Query = T::Query
type QueryInfo = T::QueryInfo
type Mutation = T::Mutation
type MutationInfo = T::MutationInfo
type Context = T::Context
fn as_root_node(&self) -> &RootNode<'static, Self::Query, Self::Mutation, S>
[src]
impl<T, S> Schema<S> for Arc<T> where
T: Schema<S>,
S: ScalarValue,
&'a S: ScalarRefValue<'a>,
[src]
T: Schema<S>,
S: ScalarValue,
&'a S: ScalarRefValue<'a>,