Skip to main content

IssueCollectionFilter

Struct IssueCollectionFilter 

Source
pub struct IssueCollectionFilter {
Show 68 fields pub id: Option<Box<IssueIDComparator>>, pub created_at: Option<Box<DateComparator>>, pub updated_at: Option<Box<DateComparator>>, pub number: Option<Box<NumberComparator>>, pub title: Option<Box<StringComparator>>, pub description: Option<Box<NullableStringComparator>>, pub priority: Option<Box<NullableNumberComparator>>, pub estimate: Option<Box<EstimateComparator>>, pub started_at: Option<Box<NullableDateComparator>>, pub triaged_at: Option<Box<NullableDateComparator>>, pub completed_at: Option<Box<NullableDateComparator>>, pub canceled_at: Option<Box<NullableDateComparator>>, pub archived_at: Option<Box<NullableDateComparator>>, pub auto_closed_at: Option<Box<NullableDateComparator>>, pub auto_archived_at: Option<Box<NullableDateComparator>>, pub added_to_cycle_at: Option<Box<NullableDateComparator>>, pub added_to_cycle_period: Option<Box<CyclePeriodComparator>>, pub due_date: Option<Box<NullableTimelessDateComparator>>, pub accumulated_state_updated_at: Option<Box<NullableDateComparator>>, pub snoozed_until_at: Option<Box<NullableDateComparator>>, pub assignee: Option<Box<NullableUserFilter>>, pub delegate: Option<Box<NullableUserFilter>>, pub last_applied_template: Option<Box<NullableTemplateFilter>>, pub recurring_issue_template: Option<Box<NullableTemplateFilter>>, pub source_metadata: Option<Box<SourceMetadataComparator>>, pub creator: Option<Box<NullableUserFilter>>, pub parent: Option<Box<NullableIssueFilter>>, pub snoozed_by: Option<Box<NullableUserFilter>>, pub labels: Option<Box<IssueLabelCollectionFilter>>, pub subscribers: Option<Box<UserCollectionFilter>>, pub has_shared_users: Option<Box<RelationExistsComparator>>, pub shared_with: Option<Box<UserCollectionFilter>>, pub team: Option<Box<TeamFilter>>, pub project_milestone: Option<Box<NullableProjectMilestoneFilter>>, pub comments: Option<Box<CommentCollectionFilter>>, pub activity: Option<Box<ActivityCollectionFilter>>, pub suggestions: Option<Box<IssueSuggestionCollectionFilter>>, pub cycle: Option<Box<NullableCycleFilter>>, pub project: Option<Box<NullableProjectFilter>>, pub state: Option<Box<WorkflowStateFilter>>, pub children: Option<Box<IssueCollectionFilter>>, pub attachments: Option<Box<AttachmentCollectionFilter>>, pub searchable_content: Option<Box<ContentComparator>>, pub has_related_relations: Option<Box<RelationExistsComparator>>, pub has_duplicate_relations: Option<Box<RelationExistsComparator>>, pub has_blocked_by_relations: Option<Box<RelationExistsComparator>>, pub has_blocking_relations: Option<Box<RelationExistsComparator>>, pub has_suggested_related_issues: Option<Box<RelationExistsComparator>>, pub has_suggested_similar_issues: Option<Box<RelationExistsComparator>>, pub has_suggested_assignees: Option<Box<RelationExistsComparator>>, pub has_suggested_projects: Option<Box<RelationExistsComparator>>, pub has_suggested_labels: Option<Box<RelationExistsComparator>>, pub has_suggested_teams: Option<Box<RelationExistsComparator>>, pub sla_status: Option<Box<SlaStatusComparator>>, pub reactions: Option<Box<ReactionCollectionFilter>>, pub needs: Option<Box<CustomerNeedCollectionFilter>>, pub releases: Option<Box<ReleaseCollectionFilter>>, pub customer_count: Option<Box<NumberComparator>>, pub customer_important_count: Option<Box<NumberComparator>>, pub lead_time: Option<Box<NullableDurationComparator>>, pub cycle_time: Option<Box<NullableDurationComparator>>, pub age_time: Option<Box<NullableDurationComparator>>, pub triage_time: Option<Box<NullableDurationComparator>>, pub and: Option<Vec<Box<IssueCollectionFilter>>>, pub or: Option<Vec<Box<IssueCollectionFilter>>>, pub some: Option<Box<IssueFilter>>, pub every: Option<Box<IssueFilter>>, pub length: Option<Box<NumberComparator>>,
}
Expand description

Issue filtering options.

Fields§

§id: Option<Box<IssueIDComparator>>

Comparator for the identifier.

§created_at: Option<Box<DateComparator>>

Comparator for the created at date.

§updated_at: Option<Box<DateComparator>>

Comparator for the updated at date.

§number: Option<Box<NumberComparator>>

Comparator for the issues number.

§title: Option<Box<StringComparator>>

Comparator for the issues title.

§description: Option<Box<NullableStringComparator>>

Comparator for the issues description.

§priority: Option<Box<NullableNumberComparator>>

Comparator for the issues priority. 0 = No priority, 1 = Urgent, 2 = High, 3 = Normal, 4 = Low.

§estimate: Option<Box<EstimateComparator>>

Comparator for the issues estimate.

§started_at: Option<Box<NullableDateComparator>>

Comparator for the issues started at date.

§triaged_at: Option<Box<NullableDateComparator>>

Comparator for the issues triaged at date.

§completed_at: Option<Box<NullableDateComparator>>

Comparator for the issues completed at date.

§canceled_at: Option<Box<NullableDateComparator>>

Comparator for the issues canceled at date.

§archived_at: Option<Box<NullableDateComparator>>

Comparator for the issues archived at date.

§auto_closed_at: Option<Box<NullableDateComparator>>

Comparator for the issues auto closed at date.

§auto_archived_at: Option<Box<NullableDateComparator>>

Comparator for the issues auto archived at date.

§added_to_cycle_at: Option<Box<NullableDateComparator>>

Comparator for the issues added to cycle at date.

§added_to_cycle_period: Option<Box<CyclePeriodComparator>>

Comparator for the period when issue was added to a cycle.

§due_date: Option<Box<NullableTimelessDateComparator>>

Comparator for the issues due date.

§accumulated_state_updated_at: Option<Box<NullableDateComparator>>

Internal Comparator for the issue’s accumulatedStateUpdatedAt date.

§snoozed_until_at: Option<Box<NullableDateComparator>>

Comparator for the issues snoozed until date.

§assignee: Option<Box<NullableUserFilter>>

Filters that the issues assignee must satisfy.

§delegate: Option<Box<NullableUserFilter>>

Filters that the issue’s delegated agent must satisfy.

§last_applied_template: Option<Box<NullableTemplateFilter>>

Filters that the last applied template must satisfy.

§recurring_issue_template: Option<Box<NullableTemplateFilter>>

ALPHA Filters that the recurring issue template must satisfy.

§source_metadata: Option<Box<SourceMetadataComparator>>

Filters that the source must satisfy.

§creator: Option<Box<NullableUserFilter>>

Filters that the issues creator must satisfy.

§parent: Option<Box<NullableIssueFilter>>

Filters that the issue parent must satisfy.

§snoozed_by: Option<Box<NullableUserFilter>>

Filters that the issues snoozer must satisfy.

§labels: Option<Box<IssueLabelCollectionFilter>>

Filters that issue labels must satisfy.

§subscribers: Option<Box<UserCollectionFilter>>

Filters that issue subscribers must satisfy.

§has_shared_users: Option<Box<RelationExistsComparator>>

Comparator for filtering issues which have been shared with users outside of the team.

§shared_with: Option<Box<UserCollectionFilter>>

Filters that users the issue has been shared with must satisfy.

§team: Option<Box<TeamFilter>>

Filters that the issues team must satisfy.

§project_milestone: Option<Box<NullableProjectMilestoneFilter>>

Filters that the issues project milestone must satisfy.

§comments: Option<Box<CommentCollectionFilter>>

Filters that the issues comments must satisfy.

§activity: Option<Box<ActivityCollectionFilter>>

Filters that the issue’s activities must satisfy.

§suggestions: Option<Box<IssueSuggestionCollectionFilter>>

Internal Filters that the issue’s suggestions must satisfy.

§cycle: Option<Box<NullableCycleFilter>>

Filters that the issues cycle must satisfy.

§project: Option<Box<NullableProjectFilter>>

Filters that the issues project must satisfy.

§state: Option<Box<WorkflowStateFilter>>

Filters that the issues state must satisfy.

§children: Option<Box<IssueCollectionFilter>>

Filters that the child issues must satisfy.

§attachments: Option<Box<AttachmentCollectionFilter>>

Filters that the issues attachments must satisfy.

§searchable_content: Option<Box<ContentComparator>>

Internal Comparator for the issues content.

§has_related_relations: Option<Box<RelationExistsComparator>>

Comparator for filtering issues with relations.

§has_duplicate_relations: Option<Box<RelationExistsComparator>>

Comparator for filtering issues which are duplicates.

§has_blocked_by_relations: Option<Box<RelationExistsComparator>>

Comparator for filtering issues which are blocked.

§has_blocking_relations: Option<Box<RelationExistsComparator>>

Comparator for filtering issues which are blocking.

§has_suggested_related_issues: Option<Box<RelationExistsComparator>>

Internal Comparator for filtering issues which have suggested related issues.

§has_suggested_similar_issues: Option<Box<RelationExistsComparator>>

Internal Comparator for filtering issues which have suggested similar issues.

§has_suggested_assignees: Option<Box<RelationExistsComparator>>

Internal Comparator for filtering issues which have suggested assignees.

§has_suggested_projects: Option<Box<RelationExistsComparator>>

Internal Comparator for filtering issues which have suggested projects.

§has_suggested_labels: Option<Box<RelationExistsComparator>>

Internal Comparator for filtering issues which have suggested labels.

§has_suggested_teams: Option<Box<RelationExistsComparator>>

Internal Comparator for filtering issues which have suggested teams.

§sla_status: Option<Box<SlaStatusComparator>>

Comparator for the issues sla status.

§reactions: Option<Box<ReactionCollectionFilter>>

Filters that the issues reactions must satisfy.

§needs: Option<Box<CustomerNeedCollectionFilter>>

Filters that the issue’s customer needs must satisfy.

§releases: Option<Box<ReleaseCollectionFilter>>

ALPHA Filters that the issue’s releases must satisfy.

§customer_count: Option<Box<NumberComparator>>

Count of customers

§customer_important_count: Option<Box<NumberComparator>>

Count of important customers

§lead_time: Option<Box<NullableDurationComparator>>

Internal Lead time (created -> completed) comparator.

§cycle_time: Option<Box<NullableDurationComparator>>

Internal Cycle time (started -> completed) comparator.

§age_time: Option<Box<NullableDurationComparator>>

Internal Age (created -> now) comparator, defined if the issue is still open.

§triage_time: Option<Box<NullableDurationComparator>>

Internal Triage time (entered triaged -> triaged) comparator.

§and: Option<Vec<Box<IssueCollectionFilter>>>

Compound filters, all of which need to be matched by the issue.

§or: Option<Vec<Box<IssueCollectionFilter>>>

Compound filters, one of which need to be matched by the issue.

§some: Option<Box<IssueFilter>>

Filters that needs to be matched by some issues.

§every: Option<Box<IssueFilter>>

Filters that needs to be matched by all issues.

§length: Option<Box<NumberComparator>>

Comparator for the collection length.

Trait Implementations§

Source§

impl Clone for IssueCollectionFilter

Source§

fn clone(&self) -> IssueCollectionFilter

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IssueCollectionFilter

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IssueCollectionFilter

Source§

fn default() -> IssueCollectionFilter

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for IssueCollectionFilter

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for IssueCollectionFilter

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> FieldCompatible<T> for T