pub struct GraphQl<Q, M, Sub, S>where
Q: GraphQLType<S, Context = GraphQlContext>,
M: GraphQLType<S, Context = GraphQlContext>,
Sub: GraphQLType<S, Context = GraphQlContext>,
S: ScalarValue,{ /* private fields */ }
Available on crate feature
graphql
only.Expand description
This only supports POST requests
Implementations§
source§impl<Q, M, Sub, S> GraphQl<Q, M, Sub, S>where
Q: GraphQLType<S, Context = GraphQlContext>,
M: GraphQLType<S, Context = GraphQlContext>,
Sub: GraphQLType<S, Context = GraphQlContext>,
S: ScalarValue,
impl<Q, M, Sub, S> GraphQl<Q, M, Sub, S>where Q: GraphQLType<S, Context = GraphQlContext>, M: GraphQLType<S, Context = GraphQlContext>, Sub: GraphQLType<S, Context = GraphQlContext>, S: ScalarValue,
Trait Implementations§
source§impl<Q, M, Sub, S> Route for GraphQl<Q, M, Sub, S>where
Q: GraphQLTypeAsync<S, Context = GraphQlContext> + Send,
Q::TypeInfo: Send + Sync,
M: GraphQLTypeAsync<S, Context = GraphQlContext> + Send,
M::TypeInfo: Send + Sync,
Sub: GraphQLSubscriptionType<S, Context = GraphQlContext> + Send,
Sub::TypeInfo: Send + Sync,
S: ScalarValue + Send + Sync,
impl<Q, M, Sub, S> Route for GraphQl<Q, M, Sub, S>where Q: GraphQLTypeAsync<S, Context = GraphQlContext> + Send, Q::TypeInfo: Send + Sync, M: GraphQLTypeAsync<S, Context = GraphQlContext> + Send, M::TypeInfo: Send + Sync, Sub: GraphQLSubscriptionType<S, Context = GraphQlContext> + Send, Sub::TypeInfo: Send + Sync, S: ScalarValue + Send + Sync,
Auto Trait Implementations§
impl<Q, M, Sub, S> RefUnwindSafe for GraphQl<Q, M, Sub, S>where M: RefUnwindSafe, Q: RefUnwindSafe, S: RefUnwindSafe, Sub: RefUnwindSafe, <M as GraphQLValue<S>>::TypeInfo: RefUnwindSafe, <Q as GraphQLValue<S>>::TypeInfo: RefUnwindSafe, <Sub as GraphQLValue<S>>::TypeInfo: RefUnwindSafe,
impl<Q, M, Sub, S> Send for GraphQl<Q, M, Sub, S>where M: Send, Q: Send, S: Send, Sub: Send, <M as GraphQLValue<S>>::TypeInfo: Send, <Q as GraphQLValue<S>>::TypeInfo: Send, <Sub as GraphQLValue<S>>::TypeInfo: Send,
impl<Q, M, Sub, S> Sync for GraphQl<Q, M, Sub, S>where M: Sync, Q: Sync, S: Sync, Sub: Sync, <M as GraphQLValue<S>>::TypeInfo: Sync, <Q as GraphQLValue<S>>::TypeInfo: Sync, <Sub as GraphQLValue<S>>::TypeInfo: Sync,
impl<Q, M, Sub, S> Unpin for GraphQl<Q, M, Sub, S>where M: Unpin, Q: Unpin, S: Unpin, Sub: Unpin, <M as GraphQLValue<S>>::TypeInfo: Unpin, <Q as GraphQLValue<S>>::TypeInfo: Unpin, <Sub as GraphQLValue<S>>::TypeInfo: Unpin,
impl<Q, M, Sub, S> UnwindSafe for GraphQl<Q, M, Sub, S>where M: UnwindSafe, Q: UnwindSafe, S: UnwindSafe, Sub: UnwindSafe, <M as GraphQLValue<S>>::TypeInfo: UnwindSafe, <Q as GraphQLValue<S>>::TypeInfo: UnwindSafe, <Sub as GraphQLValue<S>>::TypeInfo: UnwindSafe,
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