Struct async_graphql_axum::GraphQLRequest [−][src]
pub struct GraphQLRequest(pub Request);Expand description
Extractor for GraphQL request.
Tuple Fields
0: RequestImplementations
Unwraps the value to async_graphql::Request.
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.