Struct async_graphql_axum::GraphQLBatchRequest [−][src]
pub struct GraphQLBatchRequest(pub BatchRequest);
Expand description
Extractor for GraphQL batch request.
Tuple Fields
0: BatchRequest
Implementations
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.
Auto Trait Implementations
impl !RefUnwindSafe for GraphQLBatchRequest
impl Send for GraphQLBatchRequest
impl Sync for GraphQLBatchRequest
impl Unpin for GraphQLBatchRequest
impl !UnwindSafe for GraphQLBatchRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more