pub async fn create_issue<T>(
    client: &T,
    owner: impl Into<String>,
    repo: impl Into<String>,
    body: &CreateIssueBody
) -> Result<Issue, GithubRestError>where
    T: Requester,
Expand description

Create an issue Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone status.

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. See “Secondary rate limits” and “Dealing with secondary rate limits” for details.