pub fn query(
    client: &Client,
    token: &str,
    owner: &str,
    repo: &str,
    number: u32,
) -> Box<Future<Item = Vec<Value>, Error = Error>> {
    Box::new(
        send_github_query(
            client,
            token,
            &Request {
                query: QUERY,
                variables: Variables {
                    owner,
                    repo,
                    number,
                },
            },
        )
        .map(|reply: graphql::Reply| reply.data.repository.pull_request.timeline.nodes),
    )
}
/// Fetch the most recent timeline of a pull request.
Fetch the most recent timeline of a pull request.
Fetch the most recent timeline of a pull request .
pub fn query(
    client: &Client,
    token: &str,
    owner: &str,
    repo: &str,
    number: u32,
) -> Box<Future<Item = Vec<Value>, Error = Error>> {
    Box::new(
        send_github_query(
            client,
            token,
            &Request {
                query: QUERY,
                variables: Variables {
                    owner,
                    repo,
                    number,
                },
            },
        )
        .map(|reply: graphql::Reply| reply.data.repository.pull_request.timeline.nodes),
    )
}
pub fn query ( client : & Client , token : & str , owner : & str , repo : & str , number : u32 , ) -> Box < Future < Item = Vec < Value > , Error = Error > > { Box :: new ( send_github_query ( client , token , & Request { query : QUERY , variables : Variables { owner , repo , number , } , } , ) . map ( | reply : graphql :: Reply | reply . data . repository . pull_request . timeline . nodes ) , ) }
Fetch the most recent timeline of a pull request.
Fetch the most recent timeline of a pull request .
client
&Client
token
&str
owner
&str
repo
&str
number
u32
client
&Client
token
&str
owner
&str
repo
&str
number
u32