Trait juniper_graphql_ws::Schema [−][src]
Schema defines the requirements for schemas that can be used for operations. Typically this is
just an Arc<RootNode<...>>
and you should not have to implement it yourself.
Associated Types
type Context: Unpin + Send + Sync
[src]
The context type.
type ScalarValue: ScalarValue + Send + Sync
[src]
The scalar value type.
type QueryTypeInfo: Send + Sync
[src]
The query type info.
type Query: GraphQLTypeAsync<Self::ScalarValue, Context = Self::Context, TypeInfo = Self::QueryTypeInfo> + Send
[src]
The query type.
type MutationTypeInfo: Send + Sync
[src]
The mutation type info.
type Mutation: GraphQLTypeAsync<Self::ScalarValue, Context = Self::Context, TypeInfo = Self::MutationTypeInfo> + Send
[src]
The mutation type.
type SubscriptionTypeInfo: Send + Sync
[src]
The subscription type info.
type Subscription: GraphQLSubscriptionType<Self::ScalarValue, Context = Self::Context, TypeInfo = Self::SubscriptionTypeInfo> + Send
[src]
The subscription type.
Required methods
fn root_node(
&self
) -> &RootNode<'static, Self::Query, Self::Mutation, Self::Subscription, Self::ScalarValue>
[src]
&self
) -> &RootNode<'static, Self::Query, Self::Mutation, Self::Subscription, Self::ScalarValue>
Returns the root node for the schema.
Implementations on Foreign Types
impl<QueryT, MutationT, SubscriptionT, CtxT, S> Schema for Arc<RootNode<'static, QueryT, MutationT, SubscriptionT, S>> where
QueryT: GraphQLTypeAsync<S, Context = CtxT> + Send + 'static,
QueryT::TypeInfo: Send + Sync,
MutationT: GraphQLTypeAsync<S, Context = CtxT> + Send + 'static,
MutationT::TypeInfo: Send + Sync,
SubscriptionT: GraphQLSubscriptionType<S, Context = CtxT> + Send + 'static,
SubscriptionT::TypeInfo: Send + Sync,
CtxT: Unpin + Send + Sync,
S: ScalarValue + Send + Sync + 'static,
[src]
QueryT: GraphQLTypeAsync<S, Context = CtxT> + Send + 'static,
QueryT::TypeInfo: Send + Sync,
MutationT: GraphQLTypeAsync<S, Context = CtxT> + Send + 'static,
MutationT::TypeInfo: Send + Sync,
SubscriptionT: GraphQLSubscriptionType<S, Context = CtxT> + Send + 'static,
SubscriptionT::TypeInfo: Send + Sync,
CtxT: Unpin + Send + Sync,
S: ScalarValue + Send + Sync + 'static,