pub struct GraphQLRequest(pub Request);
Expand description
Extractor for GraphQL request.
async_graphql::http::MultipartOptions
allows to configure extraction
process.
Tuple Fields§
§0: Request
Implementations§
source§impl GraphQLRequest
impl GraphQLRequest
sourcepub fn into_inner(self) -> Request
pub fn into_inner(self) -> Request
Unwraps the value to async_graphql::Request
.
Trait Implementations§
source§impl FromRequest for GraphQLRequest
impl FromRequest for GraphQLRequest
source§type Future = Map<<GraphQLBatchRequest as FromRequest>::Future, fn(_: <<GraphQLBatchRequest as FromRequest>::Future as Future>::Output) -> Result<GraphQLRequest, Error>>
type Future = Map<<GraphQLBatchRequest as FromRequest>::Future, fn(_: <<GraphQLBatchRequest as FromRequest>::Future as Future>::Output) -> Result<GraphQLRequest, Error>>
Future that resolves to a
Self
. Read moresource§fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future
fn from_request(req: &HttpRequest, payload: &mut Payload) -> Self::Future
Create a
Self
from request parts asynchronously.Auto Trait Implementations§
impl Freeze for GraphQLRequest
impl !RefUnwindSafe for GraphQLRequest
impl Send for GraphQLRequest
impl Sync for GraphQLRequest
impl Unpin for GraphQLRequest
impl !UnwindSafe for GraphQLRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more