Struct async_graphql_rocket::Response [−][src]
pub struct Response(pub BatchResponse);
Expand description
Wrapper around async-graphql::Response
that is a Rocket responder so it can be returned from
a routing function in Rocket.
It contains a BatchResponse
but since a response is a type of batch response it works for
both.
Tuple Fields
0: BatchResponse
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Response
impl !UnwindSafe for Response
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
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