pub struct GraphQLRejection(pub ParseRequestError);Expand description
Rejection used for GraphQLRequest.
Tuple Fields§
§0: ParseRequestErrorTrait Implementations§
Source§impl From<ParseRequestError> for GraphQLRejection
impl From<ParseRequestError> for GraphQLRejection
Source§fn from(err: ParseRequestError) -> Self
fn from(err: ParseRequestError) -> Self
Converts to this type from the input type.
Source§impl IntoResponse for GraphQLRejection
impl IntoResponse for GraphQLRejection
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl !RefUnwindSafe for GraphQLRejection
impl !UnwindSafe for GraphQLRejection
impl Freeze for GraphQLRejection
impl Send for GraphQLRejection
impl Sync for GraphQLRejection
impl Unpin for GraphQLRejection
impl UnsafeUnpin for GraphQLRejection
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