pub struct ProjectUpdate {Show 21 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub body: Option<String>,
pub edited_at: Option<DateTime<Utc>>,
pub reaction_data: Option<Value>,
pub body_data: Option<String>,
pub slug_id: Option<String>,
pub project: Option<Box<Project>>,
pub health: Option<ProjectUpdateHealthType>,
pub user: Option<Box<User>>,
pub info_snapshot: Option<Value>,
pub is_diff_hidden: Option<bool>,
pub url: Option<String>,
pub is_stale: Option<bool>,
pub diff: Option<Value>,
pub diff_markdown: Option<String>,
pub reactions: Option<Vec<Reaction>>,
pub comments: Option<CommentConnection>,
pub comment_count: Option<i64>,
}Expand description
A status update posted to a project. Project updates communicate progress, health, and blockers to stakeholders. Each update captures the project’s health at the time of writing and includes a rich-text body with the update content.
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.
body: Option<String>The update content in markdown format.
edited_at: Option<DateTime<Utc>>The time the update was edited.
reaction_data: Option<Value>Emoji reaction summary, grouped by emoji type.
body_data: Option<String>Internal The content of the update as a Prosemirror document.
slug_id: Option<String>The update’s unique URL slug.
project: Option<Box<Project>>The project that this status update was posted to.
health: Option<ProjectUpdateHealthType>The health of the project at the time this update was posted. Possible values are onTrack, atRisk, or offTrack.
user: Option<Box<User>>The user who wrote the update.
info_snapshot: Option<Value>Internal A snapshot of project properties at the time the update was posted, including team, milestone, and issue statistics. Used to compute diffs between consecutive updates.
Whether the diff between this update and the previous one should be hidden in the UI.
url: Option<String>The URL to the project update.
is_stale: Option<bool>Whether the project update is stale.
diff: Option<Value>The diff between the current update and the previous one.
diff_markdown: Option<String>The diff between the current update and the previous one, formatted as markdown.
reactions: Option<Vec<Reaction>>Reactions associated with the project update.
comments: Option<CommentConnection>Comments associated with the project update.
comment_count: Option<i64>Number of comments associated with the project update.
Trait Implementations§
Source§impl Clone for ProjectUpdate
impl Clone for ProjectUpdate
Source§fn clone(&self) -> ProjectUpdate
fn clone(&self) -> ProjectUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more