Struct async_graphql_axum::GraphQLRequest
source · [−]pub struct GraphQLRequest<R = GraphQLRejection>(pub Request, _);
Expand description
Extractor for GraphQL request.
Tuple Fields
0: Request
Implementations
sourceimpl<R> GraphQLRequest<R>
impl<R> GraphQLRequest<R>
sourcepub fn into_inner(self) -> Request
pub fn into_inner(self) -> Request
Unwraps the value to async_graphql::Request
.
Trait Implementations
sourceimpl<B, R> FromRequest<B> for GraphQLRequest<R>where
B: Body + Unpin + Send + Sync + 'static,
B::Data: Into<Bytes>,
B::Error: Into<BoxError>,
R: IntoResponse + From<ParseRequestError>,
impl<B, R> FromRequest<B> for GraphQLRequest<R>where
B: Body + Unpin + Send + Sync + 'static,
B::Data: Into<Bytes>,
B::Error: Into<BoxError>,
R: IntoResponse + From<ParseRequestError>,
Auto Trait Implementations
impl<R = GraphQLRejection> !RefUnwindSafe for GraphQLRequest<R>
impl<R> Send for GraphQLRequest<R>where
R: Send,
impl<R> Sync for GraphQLRequest<R>where
R: Sync,
impl<R> Unpin for GraphQLRequest<R>where
R: Unpin,
impl<R = GraphQLRejection> !UnwindSafe for GraphQLRequest<R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more