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§
source§impl<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§
source§impl<S, B, R> FromRequest<S, B> for GraphQLBatchRequest<R>where
B: HttpBody + Send + Sync + 'static,
B::Data: Into<Bytes>,
B::Error: Into<BoxError>,
S: Send + Sync,
R: IntoResponse + From<ParseRequestError>,
impl<S, B, R> FromRequest<S, B> for GraphQLBatchRequest<R>where B: HttpBody + Send + Sync + 'static, B::Data: Into<Bytes>, B::Error: Into<BoxError>, S: Send + Sync, 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§
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