pub struct SearchIssuesBuilder { /* private fields */ }
Expand description
Options for searching issues. All fields are optional.
Implementations§
Source§impl SearchIssuesBuilder
impl SearchIssuesBuilder
Sourcepub fn labels(self, labels: impl Into<Vec<String>>) -> Self
pub fn labels(self, labels: impl Into<Vec<String>>) -> Self
Filter issues by labels. Non-existent labels are ignored.
Sourcepub fn milestones(self, milestones: impl Into<Vec<String>>) -> Self
pub fn milestones(self, milestones: impl Into<Vec<String>>) -> Self
Filter issues by milestone names. Non-existent milestones are ignored.
Sourcepub fn priority_repo_id(self, priority_repo_id: impl Into<i64>) -> Self
pub fn priority_repo_id(self, priority_repo_id: impl Into<i64>) -> Self
Repository to prioritize in the results
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 (issue or pull request) if set
Sourcepub fn since(self, since: impl Into<String>) -> Self
pub fn since(self, since: impl Into<String>) -> Self
Only show issues 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 issues updated before the given time. This is a timestamp in RFC 3339 format.
Sourcepub fn assigned(self, assigned: impl Into<bool>) -> Self
pub fn assigned(self, assigned: impl Into<bool>) -> Self
Filter issues/PRs assigned to the authenticated user, default is false
Sourcepub fn created(self, created: impl Into<bool>) -> Self
pub fn created(self, created: impl Into<bool>) -> Self
Filter issues/PRs created by the authenticated user, default is false
Sourcepub fn mentioned(self, mentioned: impl Into<bool>) -> Self
pub fn mentioned(self, mentioned: impl Into<bool>) -> Self
Filter issues/PRs in which the authenticated user is mentioned, default is false
Sourcepub fn review_requested(self, review_requested: impl Into<bool>) -> Self
pub fn review_requested(self, review_requested: impl Into<bool>) -> Self
Filter pull requests awaiting review by the authenticated user, default is false
Trait Implementations§
Source§impl Clone for SearchIssuesBuilder
impl Clone for SearchIssuesBuilder
Source§fn clone(&self) -> SearchIssuesBuilder
fn clone(&self) -> SearchIssuesBuilder
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 Debug for SearchIssuesBuilder
impl Debug for SearchIssuesBuilder
Source§impl Default for SearchIssuesBuilder
impl Default for SearchIssuesBuilder
Source§fn default() -> SearchIssuesBuilder
fn default() -> SearchIssuesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SearchIssuesBuilder
impl RefUnwindSafe for SearchIssuesBuilder
impl Send for SearchIssuesBuilder
impl Sync for SearchIssuesBuilder
impl Unpin for SearchIssuesBuilder
impl UnwindSafe for SearchIssuesBuilder
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