Skip to main content

IssueSearchResult

Struct IssueSearchResult 

Source
pub struct IssueSearchResult {
Show 81 fields pub id: Option<String>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>, pub archived_at: Option<DateTime<Utc>>, pub number: Option<f64>, pub title: Option<String>, pub priority: Option<f64>, pub estimate: Option<f64>, pub board_order: Option<f64>, pub sort_order: Option<f64>, pub priority_sort_order: Option<f64>, pub started_at: Option<DateTime<Utc>>, pub completed_at: Option<DateTime<Utc>>, pub started_triage_at: Option<DateTime<Utc>>, pub triaged_at: Option<DateTime<Utc>>, pub canceled_at: Option<DateTime<Utc>>, pub auto_closed_at: Option<DateTime<Utc>>, pub auto_archived_at: Option<DateTime<Utc>>, pub due_date: Option<NaiveDate>, pub sla_started_at: Option<DateTime<Utc>>, pub sla_medium_risk_at: Option<DateTime<Utc>>, pub sla_high_risk_at: Option<DateTime<Utc>>, pub sla_breaches_at: Option<DateTime<Utc>>, pub sla_type: Option<String>, pub added_to_project_at: Option<DateTime<Utc>>, pub added_to_cycle_at: Option<DateTime<Utc>>, pub added_to_team_at: Option<DateTime<Utc>>, pub trashed: Option<bool>, pub snoozed_until_at: Option<DateTime<Utc>>, pub suggestions_generated_at: Option<DateTime<Utc>>, pub activity_summary: Option<Value>, pub summary: Option<Box<Summary>>, pub label_ids: Option<Vec<String>>, pub team: Option<Box<Team>>, pub cycle: Option<Box<Cycle>>, pub project: Option<Box<Project>>, pub project_milestone: Option<Box<ProjectMilestone>>, pub last_applied_template: Option<Box<Template>>, pub recurring_issue_template: Option<Box<Template>>, pub previous_identifiers: Option<Vec<String>>, pub creator: Option<Box<User>>, pub external_user_creator: Option<Box<ExternalUser>>, pub assignee: Option<Box<User>>, pub delegate: Option<Box<User>>, pub snoozed_by: Option<Box<User>>, pub state: Option<Box<WorkflowState>>, pub sub_issue_sort_order: Option<f64>, pub reaction_data: Option<Value>, pub priority_label: Option<String>, pub source_comment: Option<Box<Comment>>, pub integration_source_type: Option<IntegrationService>, pub documents: Option<Box<DocumentConnection>>, pub bot_actor: Option<Box<ActorBot>>, pub favorite: Option<Box<Favorite>>, pub identifier: Option<String>, pub url: Option<String>, pub branch_name: Option<String>, pub customer_ticket_count: Option<i64>, pub subscribers: Option<Box<UserConnection>>, pub parent: Option<Box<Issue>>, pub children: Option<Box<IssueConnection>>, pub comments: Option<Box<CommentConnection>>, pub history: Option<Box<IssueHistoryConnection>>, pub labels: Option<Box<IssueLabelConnection>>, pub relations: Option<Box<IssueRelationConnection>>, pub inverse_relations: Option<Box<IssueRelationConnection>>, pub attachments: Option<Box<AttachmentConnection>>, pub former_attachments: Option<Box<AttachmentConnection>>, pub description: Option<String>, pub description_state: Option<String>, pub document_content: Option<Box<DocumentContent>>, pub reactions: Option<Box<Vec<Reaction>>>, pub needs: Option<Box<CustomerNeedConnection>>, pub former_needs: Option<Box<CustomerNeedConnection>>, pub synced_with: Option<Box<Vec<ExternalEntityInfo>>>, pub suggestions: Option<Box<IssueSuggestionConnection>>, pub incoming_suggestions: Option<Box<IssueSuggestionConnection>>, pub asks_requester: Option<Box<User>>, pub asks_external_user_requester: Option<Box<ExternalUser>>, pub state_history: Option<Box<IssueStateSpanConnection>>, pub metadata: Option<Value>,
}

Fields§

§id: Option<String>

The unique identifier of the entity.

§created_at: Option<DateTime<Utc>>

The time at which the entity was created.

§updated_at: Option<DateTime<Utc>>

The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.

§archived_at: Option<DateTime<Utc>>

The time at which the entity was archived. Null if the entity has not been archived.

§number: Option<f64>

The issue’s unique number.

§title: Option<String>

The issue’s title.

§priority: Option<f64>

The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Normal, 4 = Low.

§estimate: Option<f64>

The estimate of the complexity of the issue..

§board_order: Option<f64>

The order of the item in its column on the board.

§sort_order: Option<f64>

The order of the item in relation to other items in the organization.

§priority_sort_order: Option<f64>

The order of the item in relation to other items in the organization, when ordered by priority.

§started_at: Option<DateTime<Utc>>

The time at which the issue was moved into started state.

§completed_at: Option<DateTime<Utc>>

The time at which the issue was moved into completed state.

§started_triage_at: Option<DateTime<Utc>>

The time at which the issue entered triage.

§triaged_at: Option<DateTime<Utc>>

The time at which the issue left triage.

§canceled_at: Option<DateTime<Utc>>

The time at which the issue was moved into canceled state.

§auto_closed_at: Option<DateTime<Utc>>

The time at which the issue was automatically closed by the auto pruning process.

§auto_archived_at: Option<DateTime<Utc>>

The time at which the issue was automatically archived by the auto pruning process.

§due_date: Option<NaiveDate>

The date at which the issue is due.

§sla_started_at: Option<DateTime<Utc>>

The time at which the issue’s SLA began.

§sla_medium_risk_at: Option<DateTime<Utc>>

The time at which the issue’s SLA will enter medium risk state.

§sla_high_risk_at: Option<DateTime<Utc>>

The time at which the issue’s SLA will enter high risk state.

§sla_breaches_at: Option<DateTime<Utc>>

The time at which the issue’s SLA will breach.

§sla_type: Option<String>

The type of SLA set on the issue. Calendar days or business days.

§added_to_project_at: Option<DateTime<Utc>>

The time at which the issue was added to a project.

§added_to_cycle_at: Option<DateTime<Utc>>

The time at which the issue was added to a cycle.

§added_to_team_at: Option<DateTime<Utc>>

The time at which the issue was added to a team.

§trashed: Option<bool>

A flag that indicates whether the issue is in the trash bin.

§snoozed_until_at: Option<DateTime<Utc>>

The time until an issue will be snoozed in Triage view.

§suggestions_generated_at: Option<DateTime<Utc>>

Internal The time at which the most recent suggestions for this issue were generated.

§activity_summary: Option<Value>

Internal The activity summary information for this issue.

§summary: Option<Box<Summary>>

Internal AI-generated activity summary for this issue.

§label_ids: Option<Vec<String>>

Id of the labels associated with this issue.

§team: Option<Box<Team>>

The team that the issue is associated with.

§cycle: Option<Box<Cycle>>

The cycle that the issue is associated with.

§project: Option<Box<Project>>

The project that the issue is associated with.

§project_milestone: Option<Box<ProjectMilestone>>

The projectMilestone that the issue is associated with.

§last_applied_template: Option<Box<Template>>

The last template that was applied to this issue.

§recurring_issue_template: Option<Box<Template>>

The recurring issue template that created this issue.

§previous_identifiers: Option<Vec<String>>

Previous identifiers of the issue if it has been moved between teams.

§creator: Option<Box<User>>

The user who created the issue.

§external_user_creator: Option<Box<ExternalUser>>

The external user who created the issue.

§assignee: Option<Box<User>>

The user to whom the issue is assigned to.

§delegate: Option<Box<User>>

The agent user that is delegated to work on this issue.

§snoozed_by: Option<Box<User>>

The user who snoozed the issue.

§state: Option<Box<WorkflowState>>

The workflow state that the issue is associated with.

§sub_issue_sort_order: Option<f64>

The order of the item in the sub-issue list. Only set if the issue has a parent.

§reaction_data: Option<Value>

Emoji reaction summary, grouped by emoji type.

§priority_label: Option<String>

Label for the priority.

§source_comment: Option<Box<Comment>>

The comment that this issue was created from.

§integration_source_type: Option<IntegrationService>

Integration type that created this issue, if applicable.

§documents: Option<Box<DocumentConnection>>

Documents associated with the issue.

§bot_actor: Option<Box<ActorBot>>

The bot that created the issue, if applicable.

§favorite: Option<Box<Favorite>>

The users favorite associated with this issue.

§identifier: Option<String>

Issue’s human readable identifier (e.g. ENG-123).

§url: Option<String>

Issue URL.

§branch_name: Option<String>

Suggested branch name for the issue.

§customer_ticket_count: Option<i64>

Returns the number of Attachment resources which are created by customer support ticketing systems (e.g. Zendesk).

§subscribers: Option<Box<UserConnection>>

Users who are subscribed to the issue.

§parent: Option<Box<Issue>>

The parent of the issue.

§children: Option<Box<IssueConnection>>

Children of the issue.

§comments: Option<Box<CommentConnection>>

Comments associated with the issue.

§history: Option<Box<IssueHistoryConnection>>

History entries associated with the issue.

§labels: Option<Box<IssueLabelConnection>>

Labels associated with this issue.

§relations: Option<Box<IssueRelationConnection>>

Relations associated with this issue.

§inverse_relations: Option<Box<IssueRelationConnection>>

Inverse relations associated with this issue.

§attachments: Option<Box<AttachmentConnection>>

Attachments associated with the issue.

§former_attachments: Option<Box<AttachmentConnection>>

Attachments previously associated with the issue before being moved to another issue.

§description: Option<String>

The issue’s description in markdown format.

§description_state: Option<String>

Internal The issue’s description content as YJS state.

§document_content: Option<Box<DocumentContent>>

ALPHA The document content representing this issue description.

§reactions: Option<Box<Vec<Reaction>>>

Reactions associated with the issue.

§needs: Option<Box<CustomerNeedConnection>>

Customer needs associated with the issue.

§former_needs: Option<Box<CustomerNeedConnection>>

Customer needs previously associated with the issue before being moved to another issue.

§synced_with: Option<Box<Vec<ExternalEntityInfo>>>

The external services the issue is synced with.

§suggestions: Option<Box<IssueSuggestionConnection>>

Internal Product Intelligence suggestions for the issue.

§incoming_suggestions: Option<Box<IssueSuggestionConnection>>

Internal Incoming product intelligence relation suggestions for the issue.

§asks_requester: Option<Box<User>>

The internal user who requested creation of the Asks issue on behalf of the creator.

§asks_external_user_requester: Option<Box<ExternalUser>>

The external user who requested creation of the Asks issue on behalf of the creator.

§state_history: Option<Box<IssueStateSpanConnection>>

The issue’s workflow states over time.

§metadata: Option<Value>

Metadata related to search result.

Trait Implementations§

Source§

impl Clone for IssueSearchResult

Source§

fn clone(&self) -> IssueSearchResult

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 IssueSearchResult

Source§

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

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

impl Default for IssueSearchResult

Source§

fn default() -> IssueSearchResult

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

impl<'de> Deserialize<'de> for IssueSearchResult

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 GraphQLFields for IssueSearchResult

Source§

type FullType = IssueSearchResult

The full generated type this implementation validates against.
Source§

fn selection() -> String

Return the GraphQL field selection string for this type. Read more
Source§

impl Serialize for IssueSearchResult

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