pub struct FeedItem {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub organization: Option<Organization>,
pub user: Option<User>,
pub team: Option<Team>,
pub project_update: Option<ProjectUpdate>,
pub initiative_update: Option<InitiativeUpdate>,
pub post: Option<Post>,
}Expand description
Internal An item in a user’s activity feed. Feed items represent project updates, initiative updates, or posts that appear in a user’s personalized feed based on their team memberships and feed subscriptions. Each feed item references exactly one content entity. Feed items older than 6 months are automatically archived.
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.
organization: Option<Organization>The organization this feed item belongs to.
user: Option<User>The specific user this feed item is targeted to. Null if the feed item is targeted to a team or organization rather than an individual user.
team: Option<Team>The team this feed item is associated with. Null if the feed item is not team-scoped.
project_update: Option<ProjectUpdate>The project update referenced by this feed item. Null if the feed item references a different content type.
initiative_update: Option<InitiativeUpdate>The initiative update referenced by this feed item. Null if the feed item references a different content type.
post: Option<Post>The post referenced by this feed item. Null if the feed item references a different content type.