Struct gitlab::api::issues::GroupIssuesBuilder
source · pub struct GroupIssuesBuilder<'a> { /* private fields */ }
Expand description
Builder for GroupIssues
.
Implementations§
source§impl<'a> GroupIssuesBuilder<'a>
impl<'a> GroupIssuesBuilder<'a>
sourcepub fn group<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn group<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
The group 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 non_archived(&mut self, value: bool) -> &mut Self
pub fn non_archived(&mut self, value: bool) -> &mut Self
Return issues from non archived projects.
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 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<GroupIssues<'a>, GroupIssuesBuilderError>
pub fn build(&self) -> Result<GroupIssues<'a>, GroupIssuesBuilderError>
source§impl<'a> GroupIssuesBuilder<'a>
impl<'a> GroupIssuesBuilder<'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 without_milestone(&mut self) -> &mut Self
pub fn without_milestone(&mut self) -> &mut Self
Filter issues without a milestone.
sourcepub fn any_milestone(&mut self) -> &mut Self
pub fn any_milestone(&mut self) -> &mut Self
Filter issues with any milestone.
sourcepub fn milestone<M>(&mut self, milestone: M) -> &mut Self
pub fn milestone<M>(&mut self, milestone: M) -> &mut Self
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 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 GroupIssuesBuilder<'a>
impl<'a> Clone for GroupIssuesBuilder<'a>
source§fn clone(&self) -> GroupIssuesBuilder<'a>
fn clone(&self) -> GroupIssuesBuilder<'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 GroupIssuesBuilder<'a>
impl<'a> RefUnwindSafe for GroupIssuesBuilder<'a>
impl<'a> Send for GroupIssuesBuilder<'a>
impl<'a> Sync for GroupIssuesBuilder<'a>
impl<'a> Unpin for GroupIssuesBuilder<'a>
impl<'a> UnwindSafe for GroupIssuesBuilder<'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> 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