pub struct Post {Show 19 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 body_data: Option<String>,
pub written_summary_data: Option<Value>,
pub audio_summary: Option<String>,
pub title: Option<String>,
pub slug_id: Option<String>,
pub creator: Option<Box<User>>,
pub edited_at: Option<DateTime<Utc>>,
pub reaction_data: Option<Value>,
pub ttl_url: Option<String>,
pub user: Option<Box<User>>,
pub team: Option<Box<Team>>,
pub type: Option<PostType>,
pub eval_log_id: Option<String>,
pub feed_summary_schedule_at_create: Option<FeedSummarySchedule>,
}Expand description
Internal A generic post.
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.
body_data: Option<String>Internal The content of the post as a Prosemirror document.
written_summary_data: Option<Value>Internal The written update data used to compose the written post.
audio_summary: Option<String>The update content summarized for audio consumption.
title: Option<String>The post’s title.
slug_id: Option<String>The post’s unique URL slug.
creator: Option<Box<User>>The user who wrote the post.
edited_at: Option<DateTime<Utc>>The time the post was edited.
reaction_data: Option<Value>Emoji reaction summary, grouped by emoji type.
ttl_url: Option<String>A URL of the TTL (text-to-language) for the body.
user: Option<Box<User>>The user that the post is associated with.
team: Option<Box<Team>>The team that the post is associated with.
type: Option<PostType>The type of the post.
eval_log_id: Option<String>The log id of the ai response.
feed_summary_schedule_at_create: Option<FeedSummarySchedule>Schedule used to create a post summary.