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§
Source§impl<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>
Source§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>,
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>,
Auto Trait Implementations§
impl<T, CtxT, S> Freeze for GraphQLResponse<T, CtxT, S>
impl<T, CtxT, S> RefUnwindSafe for GraphQLResponse<T, CtxT, S>
impl<T, CtxT, S> Send for GraphQLResponse<T, CtxT, S>
impl<T, CtxT, S> Sync for GraphQLResponse<T, CtxT, S>
impl<T, CtxT, S> Unpin for GraphQLResponse<T, CtxT, S>
impl<T, CtxT, S> UnwindSafe for GraphQLResponse<T, CtxT, S>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more