Struct async_graphql_axum::GraphQLBatchRequest
source · [−]pub struct GraphQLBatchRequest<R = GraphQLRejection>(pub BatchRequest, _);
Expand description
Extractor for GraphQL batch request.
Tuple Fields
0: BatchRequest
Implementations
sourceimpl<R> GraphQLBatchRequest<R>
impl<R> GraphQLBatchRequest<R>
sourcepub fn into_inner(self) -> BatchRequest
pub fn into_inner(self) -> BatchRequest
Unwraps the value to async_graphql::BatchRequest
.
Trait Implementations
sourceimpl<B, R> FromRequest<B> for GraphQLBatchRequest<R>where
B: Body + Unpin + Send + Sync + 'static,
B::Data: Into<Bytes>,
B::Error: Into<BoxError>,
R: IntoResponse + From<ParseRequestError>,
impl<B, R> FromRequest<B> for GraphQLBatchRequest<R>where
B: Body + Unpin + Send + Sync + 'static,
B::Data: Into<Bytes>,
B::Error: Into<BoxError>,
R: IntoResponse + From<ParseRequestError>,
Auto Trait Implementations
impl<R = GraphQLRejection> !RefUnwindSafe for GraphQLBatchRequest<R>
impl<R> Send for GraphQLBatchRequest<R>where
R: Send,
impl<R> Sync for GraphQLBatchRequest<R>where
R: Sync,
impl<R> Unpin for GraphQLBatchRequest<R>where
R: Unpin,
impl<R = GraphQLRejection> !UnwindSafe for GraphQLBatchRequest<R>
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