pub struct GetPost;
Trait Implementations§
source§impl GraphQLQuery for GetPost
impl GraphQLQuery for GetPost
§type Variables = Variables
type Variables = Variables
The shape of the variables expected by the query. This should be a generated struct most of the time.
§type ResponseData = ResponseData
type ResponseData = ResponseData
The top-level shape of the response data (the
data
field in the GraphQL response). In practice this should be generated, since it is hard to write by hand without error.source§fn build_query(variables: Self::Variables) -> QueryBody<Self::Variables>
fn build_query(variables: Self::Variables) -> QueryBody<Self::Variables>
Produce a GraphQL query struct that can be JSON serialized and sent to a GraphQL API.