Struct gitlab::api::issues::ProjectIssuesBuilder
source · 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 Selfwhere
I: Iterator<Item = u64>,
pub fn iids<I>(&mut self, iter: I) -> &mut Selfwhere I: Iterator<Item = u64>,
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 label<L>(&mut self, label: L) -> &mut Selfwhere
L: Into<Cow<'a, str>>,
pub fn label<L>(&mut self, label: L) -> &mut Selfwhere L: Into<Cow<'a, str>>,
Filter issues with a given label.
sourcepub fn labels<I, L>(&mut self, iter: I) -> &mut Selfwhere
I: IntoIterator<Item = L>,
L: Into<Cow<'a, str>>,
pub fn labels<I, L>(&mut self, iter: I) -> &mut Selfwhere I: IntoIterator<Item = L>, L: Into<Cow<'a, str>>,
Filter issues with all of the given labels.
sourcepub fn without_milestone(&mut self) -> &mut Self
👎Deprecated since 0.1602.1: Use milestone_id
instead.
pub fn without_milestone(&mut self) -> &mut Self
milestone_id
instead.Filter issues without a milestone.
sourcepub fn any_milestone(&mut self) -> &mut Self
👎Deprecated since 0.1602.1: Use milestone_id
instead.
pub fn any_milestone(&mut self) -> &mut Self
milestone_id
instead.Filter issues with any milestone.
sourcepub fn milestone<M>(&mut self, milestone: M) -> &mut Selfwhere
M: Into<Cow<'a, str>>,
👎Deprecated since 0.1602.1: Use milestone_id
instead.
pub fn milestone<M>(&mut self, milestone: M) -> &mut Selfwhere M: Into<Cow<'a, str>>,
milestone_id
instead.Filter issues with a given milestone.
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 Selfwhere
A: Into<Cow<'a, str>>,
pub fn assignee<A>(&mut self, assignee: A) -> &mut Selfwhere A: Into<Cow<'a, str>>,
Filter issues assigned to a users (by username).
sourcepub fn assignees<I, A>(&mut self, iter: I) -> &mut Selfwhere
I: IntoIterator<Item = A>,
A: Into<Cow<'a, str>>,
pub fn assignees<I, A>(&mut self, iter: I) -> &mut Selfwhere I: IntoIterator<Item = A>, A: Into<Cow<'a, str>>,
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 Selfwhere
E: Into<Cow<'a, str>>,
pub fn my_reaction<E>(&mut self, emoji: E) -> &mut Selfwhere E: Into<Cow<'a, str>>,
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 more