Skip to main content

pull_author

Function pull_author 

Source
pub fn pull_author(token: &str, repo: &Repo, number: u64) -> Result<PullAuthor>
Expand description

The author of pull request number, from GET /repos/{owner}/{repo}/pulls/{number} (get a pull request).

ยงErrors

Returns an error when the GitHub client cannot be built or the request or its decoding fails, for example when pull request number does not exist.