pub struct ProjectIssuesBuilder<'a> { /* private fields */ }
Expand description
Builder for ProjectIssues
.
Implementations§
Source§impl<'a> ProjectIssuesBuilder<'a>
impl<'a> ProjectIssuesBuilder<'a>
Sourcepub fn project<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn project<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
The project to query for issues.
Sourcepub fn state(&mut self, value: IssueState) -> &mut Self
pub fn state(&mut self, value: IssueState) -> &mut Self
Filter issues based on state.
Sourcepub fn with_labels_details(&mut self, value: bool) -> &mut Self
pub fn with_labels_details(&mut self, value: bool) -> &mut Self
Include label details in the result.
Sourcepub fn iteration(&mut self, value: IssueIteration<'a>) -> &mut Self
pub fn iteration(&mut self, value: IssueIteration<'a>) -> &mut Self
Filter by the iteration.
Sourcepub fn milestone_id(&mut self, value: IssueMilestone<'a>) -> &mut Self
pub fn milestone_id(&mut self, value: IssueMilestone<'a>) -> &mut Self
Filter issues with a milestone.
Sourcepub fn scope(&mut self, value: IssueScope) -> &mut Self
pub fn scope(&mut self, value: IssueScope) -> &mut Self
Filter issues within a scope.
Filter issues by author.
Sourcepub fn weight(&mut self, value: IssueWeight) -> &mut Self
pub fn weight(&mut self, value: IssueWeight) -> &mut Self
Filter issues by weight.
Sourcepub fn search<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn search<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Filter issues with a search query.
Sourcepub fn created_after(&mut self, value: DateTime<Utc>) -> &mut Self
pub fn created_after(&mut self, value: DateTime<Utc>) -> &mut Self
Filter issues created after a point in time.
Sourcepub fn created_before(&mut self, value: DateTime<Utc>) -> &mut Self
pub fn created_before(&mut self, value: DateTime<Utc>) -> &mut Self
Filter issues created before a point in time.
Sourcepub fn updated_after(&mut self, value: DateTime<Utc>) -> &mut Self
pub fn updated_after(&mut self, value: DateTime<Utc>) -> &mut Self
Filter issues last updated after a point in time.
Sourcepub fn updated_before(&mut self, value: DateTime<Utc>) -> &mut Self
pub fn updated_before(&mut self, value: DateTime<Utc>) -> &mut Self
Filter issues last updated before a point in time.
Sourcepub fn confidential(&mut self, value: bool) -> &mut Self
pub fn confidential(&mut self, value: bool) -> &mut Self
Filter issues by confidentiality.
Sourcepub fn due_date(&mut self, value: IssueDueDateFilter) -> &mut Self
pub fn due_date(&mut self, value: IssueDueDateFilter) -> &mut Self
Filter issues by due date.
Sourcepub fn epic_id<VALUE: Into<IssueEpic>>(&mut self, value: VALUE) -> &mut Self
pub fn epic_id<VALUE: Into<IssueEpic>>(&mut self, value: VALUE) -> &mut Self
Filter by epic ID.
Sourcepub fn issue_type(&mut self, value: IssueType) -> &mut Self
pub fn issue_type(&mut self, value: IssueType) -> &mut Self
Filter by issue type.
Sourcepub fn health_status(&mut self, value: IssueHealthStatus) -> &mut Self
pub fn health_status(&mut self, value: IssueHealthStatus) -> &mut Self
Filter by issue health status.
Sourcepub fn order_by(&mut self, value: IssueOrderBy) -> &mut Self
pub fn order_by(&mut self, value: IssueOrderBy) -> &mut Self
Order results by a given key.
Sourcepub fn build(&self) -> Result<ProjectIssues<'a>, ProjectIssuesBuilderError>
pub fn build(&self) -> Result<ProjectIssues<'a>, ProjectIssuesBuilderError>
Source§impl<'a> ProjectIssuesBuilder<'a>
impl<'a> ProjectIssuesBuilder<'a>
Sourcepub fn iids<I>(&mut self, iter: I) -> &mut Self
pub fn iids<I>(&mut self, iter: I) -> &mut Self
Return issues with one of a set of internal IDs.
Sourcepub fn with_any_label(&mut self) -> &mut Self
pub fn with_any_label(&mut self) -> &mut Self
Filter issues with any label.
Sourcepub fn labels<I, L>(&mut self, iter: I) -> &mut Self
pub fn labels<I, L>(&mut self, iter: I) -> &mut Self
Filter issues with all of the given labels.
Sourcepub fn unassigned(&mut self) -> &mut Self
pub fn unassigned(&mut self) -> &mut Self
Filter unassigned issues.
Sourcepub fn assignee_id(&mut self, assignee: u64) -> &mut Self
pub fn assignee_id(&mut self, assignee: u64) -> &mut Self
Filter issues assigned to a user (by ID).
Sourcepub fn assignee<A>(&mut self, assignee: A) -> &mut Self
pub fn assignee<A>(&mut self, assignee: A) -> &mut Self
Filter issues assigned to a users (by username).
Sourcepub fn assignees<I, A>(&mut self, iter: I) -> &mut Self
pub fn assignees<I, A>(&mut self, iter: I) -> &mut Self
Filter issues assigned to a set of users.
Sourcepub fn no_reaction(&mut self) -> &mut Self
pub fn no_reaction(&mut self) -> &mut Self
Filter issues without a reaction by the API caller.
Sourcepub fn any_reaction(&mut self) -> &mut Self
pub fn any_reaction(&mut self) -> &mut Self
Filter issues with any reaction by the API caller.
Sourcepub fn my_reaction<E>(&mut self, emoji: E) -> &mut Self
pub fn my_reaction<E>(&mut self, emoji: E) -> &mut Self
Filter issues with a specific reaction by the API caller.
Sourcepub fn search_in(&mut self, scope: IssueSearchScope) -> &mut Self
pub fn search_in(&mut self, scope: IssueSearchScope) -> &mut Self
The scopes to look for search query within.
Trait Implementations§
Source§impl<'a> Clone for ProjectIssuesBuilder<'a>
impl<'a> Clone for ProjectIssuesBuilder<'a>
Source§fn clone(&self) -> ProjectIssuesBuilder<'a>
fn clone(&self) -> ProjectIssuesBuilder<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for ProjectIssuesBuilder<'a>
impl<'a> RefUnwindSafe for ProjectIssuesBuilder<'a>
impl<'a> Send for ProjectIssuesBuilder<'a>
impl<'a> Sync for ProjectIssuesBuilder<'a>
impl<'a> Unpin for ProjectIssuesBuilder<'a>
impl<'a> UnwindSafe for ProjectIssuesBuilder<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more