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<Box<Organization>>,
pub user: Option<Box<User>>,
pub team: Option<Box<Team>>,
pub project_update: Option<Box<ProjectUpdate>>,
pub initiative_update: Option<Box<InitiativeUpdate>>,
pub post: Option<Box<Post>>,
}Expand description
Internal An item in a users feed.
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<Box<Organization>>The organization that will see this feed item.
user: Option<Box<User>>The user that will see this feed item.
team: Option<Box<Team>>The team that will see this feed item.
project_update: Option<Box<ProjectUpdate>>The project update that is in the feed.
initiative_update: Option<Box<InitiativeUpdate>>The initiative update that is in the feed.
post: Option<Box<Post>>The post that is in the feed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeedItem
impl<'de> Deserialize<'de> for FeedItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl GraphQLFields for FeedItem
impl GraphQLFields for FeedItem
Auto Trait Implementations§
impl Freeze for FeedItem
impl RefUnwindSafe for FeedItem
impl Send for FeedItem
impl Sync for FeedItem
impl Unpin for FeedItem
impl UnwindSafe for FeedItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more