Struct async_graphql_axum::GraphQLBatchRequest [−][src]
pub struct GraphQLBatchRequest(pub BatchRequest);Expand description
Extractor for GraphQL batch request.
Tuple Fields
0: BatchRequestImplementations
Unwraps the value to async_graphql::BatchRequest.
Trait Implementations
type Rejection = GraphQLRejection
type Rejection = GraphQLRejection
If the extractor fails it’ll use this “rejection” type. A rejection is a kind of error that can be converted into a response. Read more
fn from_request<'life0, 'async_trait>(
req: &'life0 mut RequestParts<B>
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Rejection>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn from_request<'life0, 'async_trait>(
req: &'life0 mut RequestParts<B>
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Rejection>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Perform the extraction.