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: Vec<String>) -> Self
pub fn labels(self, labels: Vec<String>) -> Self
Filter issues by labels. Non-existent labels are ignored.
sourcepub fn milestones(self, milestones: Vec<String>) -> Self
pub fn milestones(self, milestones: Vec<String>) -> Self
Filter issues by milestone names. Non-existent milestones are ignored.
sourcepub fn priority_repo_id(self, priority_repo_id: i64) -> Self
pub fn priority_repo_id(self, priority_repo_id: i64) -> Self
Repository to prioritize in the results
sourcepub fn issue_type(self, issue_type: IssueType) -> Self
pub fn issue_type(self, issue_type: IssueType) -> Self
Filter by type (issue or pull request) if set
sourcepub fn since(self, since: String) -> Self
pub fn since(self, since: String) -> Self
Only show issues updated after the given time. This is a timestamp in RFC 3339 format.
sourcepub fn before(self, before: String) -> Self
pub fn before(self, before: String) -> Self
Only show issues updated before the given time. This is a timestamp in RFC 3339 format.
sourcepub fn assigned(self, assigned: bool) -> Self
pub fn assigned(self, assigned: bool) -> Self
Filter issues/PRs assigned to the authenticated user, default is false
sourcepub fn created(self, created: bool) -> Self
pub fn created(self, created: bool) -> Self
Filter issues/PRs created by the authenticated user, default is false
sourcepub fn mentioned(self, mentioned: bool) -> Self
pub fn mentioned(self, mentioned: bool) -> Self
Filter issues/PRs in which the authenticated user is mentioned, default is false
sourcepub fn review_requested(self, review_requested: bool) -> Self
pub fn review_requested(self, review_requested: bool) -> Self
Filter pull requests awaiting review by the authenticated user, default is false
source§impl SearchIssuesBuilder
impl SearchIssuesBuilder
pub fn append_query_params(&self, req: &mut Request)
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)