Struct github_rest::builders::GetIssuesBuilder
source · pub struct GetIssuesBuilder { /* private fields */ }
Expand description
- tags issues
- get
/repos/{owner}/{repo}/issues
- docs https://docs.github.com/rest/reference/issues#list-repository-issues
List repository issues List issues in a repository.
Note: GitHub’s REST API v3 considers every pull request an issue,
but not every issue is a pull request. For this reason, “Issues”
endpoints may return both issues and pull requests in the response.
You can identify pull requests by the pull_request
key. Be aware
that the id
of a pull request returned from “Issues” endpoints will be an issue id. To find out the pull request id, use the “List pull requests” endpoint.
Implementations§
source§impl GetIssuesBuilder
impl GetIssuesBuilder
pub fn state(self, state: IssueState) -> Self
source§impl GetIssuesBuilder
impl GetIssuesBuilder
pub fn milestone<T: Into<String>>(self, milestone: T) -> Self
pub fn assignee<T: Into<String>>(self, assignee: T) -> Self
pub fn creator<T: Into<String>>(self, creator: T) -> Self
pub fn mentioned<T: Into<String>>(self, mentioned: T) -> Self
pub fn labels<T: Into<String>>(self, labels: T) -> Self
pub fn sort<T: Into<String>>(self, sort: T) -> Self
pub fn direction<T: Into<String>>(self, direction: T) -> Self
pub fn since<T: Into<String>>(self, since: T) -> Self
pub fn per_page<T: Into<String>>(self, per_page: T) -> Self
pub fn page<T: Into<String>>(self, page: T) -> Self
Trait Implementations§
source§impl Builder for GetIssuesBuilder
impl Builder for GetIssuesBuilder
source§impl Clone for GetIssuesBuilder
impl Clone for GetIssuesBuilder
source§fn clone(&self) -> GetIssuesBuilder
fn clone(&self) -> GetIssuesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetIssuesBuilder
impl Default for GetIssuesBuilder
source§fn default() -> GetIssuesBuilder
fn default() -> GetIssuesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GetIssuesBuilder
impl Send for GetIssuesBuilder
impl Sync for GetIssuesBuilder
impl Unpin for GetIssuesBuilder
impl UnwindSafe for GetIssuesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more