Skip to main content

ProjectSearchResult

Struct ProjectSearchResult 

Source
pub struct ProjectSearchResult {
Show 74 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<Box<ProjectStatus>>, pub creator: Option<Box<User>>, pub lead: Option<Box<User>>, pub facets: Option<Box<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<Box<Issue>>, pub last_applied_template: Option<Box<Template>>, pub priority: Option<i64>, pub last_update: Option<Box<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<Box<Favorite>>, pub url: Option<String>, pub initiatives: Option<Box<InitiativeConnection>>, pub initiative_to_projects: Option<Box<InitiativeToProjectConnection>>, pub teams: Option<Box<TeamConnection>>, pub members: Option<Box<UserConnection>>, pub project_updates: Option<Box<ProjectUpdateConnection>>, pub documents: Option<Box<DocumentConnection>>, pub project_milestones: Option<Box<ProjectMilestoneConnection>>, pub issues: Option<Box<IssueConnection>>, pub external_links: Option<Box<EntityExternalLinkConnection>>, pub attachments: Option<Box<ProjectAttachmentConnection>>, pub history: Option<Box<ProjectHistoryConnection>>, pub labels: Option<Box<ProjectLabelConnection>>, pub progress: Option<f64>, pub scope: Option<f64>, pub integrations_settings: Option<Box<IntegrationsSettings>>, pub content: Option<String>, pub content_state: Option<String>, pub document_content: Option<Box<DocumentContent>>, pub comments: Option<Box<CommentConnection>>, pub relations: Option<Box<ProjectRelationConnection>>, pub inverse_relations: Option<Box<ProjectRelationConnection>>, pub needs: Option<Box<CustomerNeedConnection>>, pub state: Option<String>, pub priority_label: Option<String>, 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 project’s name.

§description: Option<String>

The project’s description.

§slug_id: Option<String>

The project’s unique URL slug.

§icon: Option<String>

The icon of the project.

§color: Option<String>

The project’s color.

§status: Option<Box<ProjectStatus>>

The status that the project is associated with.

§creator: Option<Box<User>>

The user who created the project.

§lead: Option<Box<User>>

The project lead.

§facets: Option<Box<Vec<Facet>>>

Internal Facets associated with the project.

§project_update_reminders_paused_until_at: Option<DateTime<Utc>>

The time until which project update reminders are paused.

§start_date: Option<NaiveDate>

The estimated start date of the project.

§start_date_resolution: Option<DateResolutionType>

The resolution of the project’s start date.

§target_date: Option<NaiveDate>

The estimated completion date of the project.

§target_date_resolution: Option<DateResolutionType>

The resolution of the project’s estimated completion date.

§started_at: Option<DateTime<Utc>>

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

§completed_at: Option<DateTime<Utc>>

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

§canceled_at: Option<DateTime<Utc>>

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

§auto_archived_at: Option<DateTime<Utc>>

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

§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 organization.

§priority_sort_order: Option<f64>

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

§converted_from_issue: Option<Box<Issue>>

The project was created based on this issue.

§last_applied_template: Option<Box<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 = Normal, 4 = Low.

§last_update: Option<Box<ProjectUpdate>>

The last project update posted for this project.

§health: Option<ProjectUpdateHealthType>

The health of the project.

§health_updated_at: Option<DateTime<Utc>>

The time at which the project health was updated.

§issue_count_history: Option<Vec<f64>>

The total number of issues in the project after each week.

§completed_issue_count_history: Option<Vec<f64>>

The number of completed issues in the project after each week.

§scope_history: Option<Vec<f64>>

The total number of estimation points after each week.

§completed_scope_history: Option<Vec<f64>>

The number of completed estimation points after each week.

§in_progress_scope_history: Option<Vec<f64>>

The number of in progress estimation points after each week.

§progress_history: Option<Value>

INTERNAL The progress history of the project.

§current_progress: Option<Value>

INTERNAL The current progress of the project.

§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>>

Id of the labels associated with this project.

§favorite: Option<Box<Favorite>>

The user’s favorite associated with this project.

§url: Option<String>

Project URL.

§initiatives: Option<Box<InitiativeConnection>>

Initiatives that this project belongs to.

§initiative_to_projects: Option<Box<InitiativeToProjectConnection>>

Associations of this project to parent initiatives.

§teams: Option<Box<TeamConnection>>

Teams associated with this project.

§members: Option<Box<UserConnection>>

Users that are members of the project.

§project_updates: Option<Box<ProjectUpdateConnection>>

Project updates associated with the project.

§documents: Option<Box<DocumentConnection>>

Documents associated with the project.

§project_milestones: Option<Box<ProjectMilestoneConnection>>

Milestones associated with the project.

§issues: Option<Box<IssueConnection>>

Issues associated with the project.

§external_links: Option<Box<EntityExternalLinkConnection>>

External links associated with the project.

§attachments: Option<Box<ProjectAttachmentConnection>>

Attachments associated with the project.

§history: Option<Box<ProjectHistoryConnection>>

History entries associated with the project.

§labels: Option<Box<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<Box<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<Box<DocumentContent>>

The content of the project description.

§comments: Option<Box<CommentConnection>>

Comments associated with the project overview.

§relations: Option<Box<ProjectRelationConnection>>

Relations associated with this project.

§inverse_relations: Option<Box<ProjectRelationConnection>>

Inverse relations associated with this project.

§needs: Option<Box<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.

§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