Skip to main content

ProjectSearchResult

Struct ProjectSearchResult 

Source
pub struct ProjectSearchResult {
Show 75 fields pub id: Option<String>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>, pub archived_at: Option<DateTime<Utc>>, pub update_reminder_frequency_in_weeks: Option<f64>, pub update_reminder_frequency: Option<f64>, pub frequency_resolution: Option<FrequencyResolutionType>, pub update_reminders_day: Option<Day>, pub update_reminders_hour: Option<f64>, pub name: Option<String>, pub description: Option<String>, pub slug_id: Option<String>, pub icon: Option<String>, pub color: Option<String>, pub status: Option<ProjectStatus>, pub creator: Option<User>, pub lead: Option<User>, pub facets: Option<Vec<Facet>>, pub project_update_reminders_paused_until_at: Option<DateTime<Utc>>, pub start_date: Option<NaiveDate>, pub start_date_resolution: Option<DateResolutionType>, pub target_date: Option<NaiveDate>, pub target_date_resolution: Option<DateResolutionType>, pub started_at: Option<DateTime<Utc>>, pub completed_at: Option<DateTime<Utc>>, pub canceled_at: Option<DateTime<Utc>>, pub auto_archived_at: Option<DateTime<Utc>>, pub trashed: Option<bool>, pub sort_order: Option<f64>, pub priority_sort_order: Option<f64>, pub converted_from_issue: Option<Issue>, pub last_applied_template: Option<Template>, pub priority: Option<i64>, pub last_update: Option<ProjectUpdate>, pub health: Option<ProjectUpdateHealthType>, pub health_updated_at: Option<DateTime<Utc>>, pub issue_count_history: Option<Vec<f64>>, pub completed_issue_count_history: Option<Vec<f64>>, pub scope_history: Option<Vec<f64>>, pub completed_scope_history: Option<Vec<f64>>, pub in_progress_scope_history: Option<Vec<f64>>, pub progress_history: Option<Value>, pub current_progress: Option<Value>, pub slack_new_issue: Option<bool>, pub slack_issue_comments: Option<bool>, pub slack_issue_statuses: Option<bool>, pub label_ids: Option<Vec<String>>, pub favorite: Option<Favorite>, pub url: Option<String>, pub initiatives: Option<InitiativeConnection>, pub initiative_to_projects: Option<InitiativeToProjectConnection>, pub teams: Option<TeamConnection>, pub members: Option<UserConnection>, pub project_updates: Option<ProjectUpdateConnection>, pub documents: Option<DocumentConnection>, pub project_milestones: Option<ProjectMilestoneConnection>, pub issues: Option<IssueConnection>, pub external_links: Option<EntityExternalLinkConnection>, pub attachments: Option<ProjectAttachmentConnection>, pub history: Option<ProjectHistoryConnection>, pub labels: Option<ProjectLabelConnection>, pub progress: Option<f64>, pub scope: Option<f64>, pub integrations_settings: Option<IntegrationsSettings>, pub content: Option<String>, pub content_state: Option<String>, pub document_content: Option<DocumentContent>, pub comments: Option<CommentConnection>, pub relations: Option<ProjectRelationConnection>, pub inverse_relations: Option<ProjectRelationConnection>, pub needs: Option<CustomerNeedConnection>, pub state: Option<String>, pub priority_label: Option<String>, pub synced_with: Option<Vec<ExternalEntityInfo>>, 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.

§update_reminder_frequency_in_weeks: Option<f64>

The n-weekly frequency at which to prompt for updates. When not set, reminders are inherited from workspace.

§update_reminder_frequency: Option<f64>

The frequency at which to prompt for updates. When not set, reminders are inherited from workspace.

§frequency_resolution: Option<FrequencyResolutionType>

The resolution of the reminder frequency.

§update_reminders_day: Option<Day>

The day at which to prompt for updates.

§update_reminders_hour: Option<f64>

The hour at which to prompt for updates.

§name: Option<String>

The name of the project.

§description: Option<String>

The short description of the project.

§slug_id: Option<String>

The project’s unique URL slug, used to construct human-readable URLs.

§icon: Option<String>

The icon of the project. Can be an emoji or a decorative icon type.

§color: Option<String>

The project’s color as a HEX string. Used in the UI to visually identify the project.

§status: Option<ProjectStatus>

The current project status. Defines the project’s position in its lifecycle (e.g., backlog, planned, started, paused, completed, canceled).

§creator: Option<User>

The user who created the project.

§lead: Option<User>

The user who leads the project. The project lead is typically responsible for posting status updates and driving the project to completion. Null if no lead is assigned.

§facets: Option<Vec<Facet>>

Internal Facets associated with the project, used for filtering and categorization.

§project_update_reminders_paused_until_at: Option<DateTime<Utc>>

The time until which project update reminders are paused. When set, no update reminders will be sent for this project until this date passes. Null means reminders are active.

§start_date: Option<NaiveDate>

The estimated start date of the project. Null if no start date is set.

§start_date_resolution: Option<DateResolutionType>

The resolution of the project’s start date, indicating whether it refers to a specific month, quarter, half-year, or year.

§target_date: Option<NaiveDate>

The estimated completion date of the project. Null if no target date is set.

§target_date_resolution: Option<DateResolutionType>

The resolution of the project’s estimated completion date, indicating whether it refers to a specific month, quarter, half-year, or year.

§started_at: Option<DateTime<Utc>>

The time at which the project was moved into a started status. Null if the project has not been started.

§completed_at: Option<DateTime<Utc>>

The time at which the project was moved into a completed status. Null if the project has not been completed.

§canceled_at: Option<DateTime<Utc>>

The time at which the project was moved into a canceled status. Null if the project has not been canceled.

§auto_archived_at: Option<DateTime<Utc>>

The time at which the project was automatically archived by the auto-pruning process. Null if the project has not been auto-archived.

§trashed: Option<bool>

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

§sort_order: Option<f64>

The sort order for the project within the workspace. Used for manual ordering in list views.

§priority_sort_order: Option<f64>

The sort order for the project within the workspace when ordered by priority.

§converted_from_issue: Option<Issue>

The issue that was converted into this project. Null if the project was not created from an issue.

§last_applied_template: Option<Template>

The last template that was applied to this project.

§priority: Option<i64>

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

§last_update: Option<ProjectUpdate>

The most recent status update posted for this project. Null if no updates have been posted.

§health: Option<ProjectUpdateHealthType>

The overall health of the project, derived from the most recent project update. Possible values are onTrack, atRisk, or offTrack. Null if no health has been reported.

§health_updated_at: Option<DateTime<Utc>>

The time at which the project health was last updated, typically when a new project update is posted. Null if health has never been set.

§issue_count_history: Option<Vec<f64>>

The total number of issues in the project at the end of each week since project creation. Each entry represents one week.

§completed_issue_count_history: Option<Vec<f64>>

The number of completed issues in the project at the end of each week since project creation. Each entry represents one week.

§scope_history: Option<Vec<f64>>

The total scope (estimation points) of the project at the end of each week since project creation. Each entry represents one week.

§completed_scope_history: Option<Vec<f64>>

The number of completed estimation points at the end of each week since project creation. Each entry represents one week.

§in_progress_scope_history: Option<Vec<f64>>

The number of in-progress estimation points at the end of each week since project creation. Each entry represents one week.

§progress_history: Option<Value>

INTERNAL The progress history of the project, tracking issue completion over time.

§current_progress: Option<Value>

INTERNAL The current progress of the project, broken down by issue status category.

§slack_new_issue: Option<bool>

Whether to send new issue notifications to Slack.

§slack_issue_comments: Option<bool>

Whether to send new issue comment notifications to Slack.

§slack_issue_statuses: Option<bool>

Whether to send new issue status updates to Slack.

§label_ids: Option<Vec<String>>

The IDs of the project labels associated with this project.

§favorite: Option<Favorite>

The user’s favorite associated with this project.

§url: Option<String>

Project URL.

§initiatives: Option<InitiativeConnection>

Initiatives that this project belongs to.

§initiative_to_projects: Option<InitiativeToProjectConnection>

Associations of this project to parent initiatives.

§teams: Option<TeamConnection>

Teams associated with this project.

§members: Option<UserConnection>

Users that are members of the project.

§project_updates: Option<ProjectUpdateConnection>

Project updates associated with the project.

§documents: Option<DocumentConnection>

Documents associated with the project.

§project_milestones: Option<ProjectMilestoneConnection>

Milestones associated with the project.

§issues: Option<IssueConnection>

Issues associated with the project.

§external_links: Option<EntityExternalLinkConnection>

External links associated with the project.

§attachments: Option<ProjectAttachmentConnection>

Attachments associated with the project.

§history: Option<ProjectHistoryConnection>

History entries associated with the project.

§labels: Option<ProjectLabelConnection>

Labels associated with this project.

§progress: Option<f64>

The overall progress of the project. This is the (completed estimate points + 0.25 * in progress estimate points) / total estimate points.

§scope: Option<f64>

The overall scope (total estimate points) of the project.

§integrations_settings: Option<IntegrationsSettings>

Settings for all integrations associated with that project.

§content: Option<String>

The project’s content in markdown format.

§content_state: Option<String>

Internal The project’s content as YJS state.

§document_content: Option<DocumentContent>

The content of the project description.

§comments: Option<CommentConnection>

Comments associated with the project overview.

§relations: Option<ProjectRelationConnection>

Relations associated with this project.

§inverse_relations: Option<ProjectRelationConnection>

Inverse relations associated with this project.

§needs: Option<CustomerNeedConnection>

Customer needs associated with the project.

§state: Option<String>

DEPRECATED The type of the state.

§priority_label: Option<String>

The priority of the project as a label.

§synced_with: Option<Vec<ExternalEntityInfo>>

The external services the project is synced with.

§metadata: Option<Value>

Metadata related to search result.

Trait Implementations§

Source§

impl Clone for ProjectSearchResult

Source§

fn clone(&self) -> ProjectSearchResult

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 ProjectSearchResult

Source§

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

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

impl Default for ProjectSearchResult

Source§

fn default() -> ProjectSearchResult

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

impl<'de> Deserialize<'de> for ProjectSearchResult

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 ProjectSearchResult

Source§

type FullType = ProjectSearchResult

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 ProjectSearchResult

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