Struct github_gql::query::Query [] [src]

pub struct Query { /* fields omitted */ }

Used to query information from the GitHub API to possibly be used in a Mutation or for information to make decisions with how to interact.

Methods

impl Query
[src]

[src]

Create a new Query

[src]

Create a new Query using the given value as the input for the query to GitHub. Any other methods used will assume the String is empty. This is a shortcut for doing:

let q = Query::new();
q.raw_query("my query which won't work");

as

let q = Query::new_raw("my query which won't work");

[src]

Whatever you put here becomes your query and replaces anything you might have built up before. This assumes you know what you're doing with the API so no guarantees can be made here that it will work, only that if used this can be used to make a query using the client::Github type.

Trait Implementations

impl IntoGithubRequest for Query
[src]

[src]