pub struct ListIssuesBuilder {
pub state: Option<State>,
pub labels: Option<Vec<String>>,
pub query: Option<String>,
pub issue_type: Option<IssueType>,
pub milestone: Option<String>,
pub since: Option<String>,
pub before: Option<String>,
pub created_by: Option<String>,
pub assigned_by: Option<String>,
pub mentioned_by: Option<String>,
pub page: Option<i64>,
pub limit: Option<i64>,
/* private fields */
}
Fields§
§state: Option<State>
Whether issue is open or closed
labels: Option<Vec<String>>
Comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
query: Option<String>
Search string
issue_type: Option<IssueType>
Filter by type (Issues or Pulls) if set
milestone: Option<String>
Comma-separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded
since: Option<String>
Only show items updated after the given time. This is a timestamp in RFC 3339 format
before: Option<String>
Only show items updated before the given time. This is a timestamp in RFC 3339 format
created_by: Option<String>
Only show items which were created by the given user
assigned_by: Option<String>
Only show items for which the given user is assigned
mentioned_by: Option<String>
Only show items in which the given user was mentioned
page: Option<i64>
Page number of results to return (1-based)
limit: Option<i64>
Page size of results
Implementations§
Source§impl ListIssuesBuilder
impl ListIssuesBuilder
Sourcepub fn labels(self, labels: impl Into<Vec<String>>) -> Self
pub fn labels(self, labels: impl Into<Vec<String>>) -> Self
Comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded
Sourcepub fn issue_type(self, issue_type: impl Into<IssueType>) -> Self
pub fn issue_type(self, issue_type: impl Into<IssueType>) -> Self
Filter by type (Issues or Pulls) if set
Sourcepub fn milestone(self, milestone: impl Into<String>) -> Self
pub fn milestone(self, milestone: impl Into<String>) -> Self
Comma-separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded
Sourcepub fn since(self, since: impl Into<String>) -> Self
pub fn since(self, since: impl Into<String>) -> Self
Only show items updated after the given time. This is a timestamp in RFC 3339 format
Sourcepub fn before(self, before: impl Into<String>) -> Self
pub fn before(self, before: impl Into<String>) -> Self
Only show items updated before the given time. This is a timestamp in RFC 3339 format
Sourcepub fn created_by(self, created_by: impl Into<String>) -> Self
pub fn created_by(self, created_by: impl Into<String>) -> Self
Only show items which were created by the given user
Sourcepub fn assigned_by(self, assigned_by: impl Into<String>) -> Self
pub fn assigned_by(self, assigned_by: impl Into<String>) -> Self
Only show items for which the given user is assigned
Sourcepub fn mentioned_by(self, mentioned_by: impl Into<String>) -> Self
pub fn mentioned_by(self, mentioned_by: impl Into<String>) -> Self
Only show items in which the given user was mentioned
Trait Implementations§
Source§impl Clone for ListIssuesBuilder
impl Clone for ListIssuesBuilder
Source§fn clone(&self) -> ListIssuesBuilder
fn clone(&self) -> ListIssuesBuilder
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more