pub struct InitiativeUpdate {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 initiative: Option<Box<Initiative>>,
pub user: Option<Box<User>>,
pub health: Option<InitiativeUpdateHealthType>,
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 an initiative. Initiative updates communicate progress, health, and blockers to stakeholders. Each update captures the initiative’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.
initiative: Option<Box<Initiative>>The initiative that this status update was posted to.
user: Option<Box<User>>The user who wrote the update.
health: Option<InitiativeUpdateHealthType>The health of the initiative at the time this update was posted. Possible values are onTrack, atRisk, or offTrack.
info_snapshot: Option<Value>Internal A snapshot of initiative properties at the time the update was posted, including project statuses, sub-initiative health, and target dates. 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 initiative update.
is_stale: Option<bool>Whether the initiative 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 initiative update.
comments: Option<CommentConnection>Comments associated with the initiative update.
comment_count: Option<i64>Number of comments associated with the initiative update.
Trait Implementations§
Source§impl Clone for InitiativeUpdate
impl Clone for InitiativeUpdate
Source§fn clone(&self) -> InitiativeUpdate
fn clone(&self) -> InitiativeUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more