Struct tsukuyomi_juniper::GraphQLResponse
source · pub struct GraphQLResponse<T, CtxT, S: ScalarValue = DefaultScalarValue> { /* private fields */ }
Expand description
The type representing the result from the executing a GraphQL request.
Trait Implementations
sourceimpl<T: Debug, CtxT: Debug, S: Debug + ScalarValue> Debug for GraphQLResponse<T, CtxT, S>
impl<T: Debug, CtxT: Debug, S: Debug + ScalarValue> Debug for GraphQLResponse<T, CtxT, S>
sourceimpl<T, CtxT, S> Responder for GraphQLResponse<T, CtxT, S>where
T: Schema<S> + Send + 'static,
CtxT: AsRef<T::Context> + Send + 'static,
S: ScalarValue + Send + 'static,
for<'a> &'a S: ScalarRefValue<'a>,
impl<T, CtxT, S> Responder for GraphQLResponse<T, CtxT, S>where
T: Schema<S> + Send + 'static,
CtxT: AsRef<T::Context> + Send + 'static,
S: ScalarValue + Send + 'static,
for<'a> &'a S: ScalarRefValue<'a>,
type Respond = GraphQLRespond
type Respond = GraphQLRespond
The type of
Future
which will be returned from respond_to
.Auto Trait Implementations
impl<T, CtxT, S> RefUnwindSafe for GraphQLResponse<T, CtxT, S>where
CtxT: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, CtxT, S> Send for GraphQLResponse<T, CtxT, S>where
CtxT: Send,
S: Send,
T: Send,
impl<T, CtxT, S> Sync for GraphQLResponse<T, CtxT, S>where
CtxT: Sync,
S: Sync,
T: Sync,
impl<T, CtxT, S> Unpin for GraphQLResponse<T, CtxT, S>where
CtxT: Unpin,
S: Unpin,
T: Unpin,
impl<T, CtxT, S> UnwindSafe for GraphQLResponse<T, CtxT, S>where
CtxT: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more