Struct async_graphql_poem::GraphQLBatchResponse [−][src]
pub struct GraphQLBatchResponse(pub BatchResponse);Expand description
Response for async_graphql::BatchRequest.
Tuple Fields
0: BatchResponseTrait Implementations
Performs the conversion.
Consume itself and return Response.
fn with_header<K, V>(self, key: K, value: V) -> WithHeader<Self> where
K: TryInto<HeaderName>,
V: TryInto<HeaderValue>,
fn with_header<K, V>(self, key: K, value: V) -> WithHeader<Self> where
K: TryInto<HeaderName>,
V: TryInto<HeaderValue>,
Wrap an impl IntoResponse to add a header. Read more
Wrap an impl IntoResponse to set a status code. Read more
Auto Trait Implementations
impl !RefUnwindSafe for GraphQLBatchResponse
impl Send for GraphQLBatchResponse
impl Sync for GraphQLBatchResponse
impl Unpin for GraphQLBatchResponse
impl !UnwindSafe for GraphQLBatchResponse
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