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<Box<Vec<Reaction>>>,
pub comments: Option<Box<CommentConnection>>,
pub comment_count: Option<i64>,
}Expand description
An initiative update.
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 the update is associated with.
user: Option<Box<User>>The user who wrote the update.
health: Option<InitiativeUpdateHealthType>The health at the time of the update.
info_snapshot: Option<Value>Internal Serialized JSON representing current state of the initiative properties when posting the initiative update.
Whether initiative update diff should be hidden.
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<Box<Vec<Reaction>>>Reactions associated with the initiative update.
comments: Option<Box<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