pub struct Reaction {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub emoji: Option<String>,
pub issue: Option<Box<Issue>>,
pub comment: Option<Box<Comment>>,
pub project_update: Option<Box<ProjectUpdate>>,
pub initiative_update: Option<Box<InitiativeUpdate>>,
pub post: Option<Box<Post>>,
pub user: Option<Box<User>>,
pub external_user: Option<Box<ExternalUser>>,
}Expand description
A reaction associated with a comment or a project 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.
emoji: Option<String>Name of the reaction’s emoji.
issue: Option<Box<Issue>>The issue that the reaction is associated with.
comment: Option<Box<Comment>>The comment that the reaction is associated with.
project_update: Option<Box<ProjectUpdate>>The project update that the reaction is associated with.
initiative_update: Option<Box<InitiativeUpdate>>The initiative update that the reaction is associated with.
post: Option<Box<Post>>The post that the reaction is associated with.
user: Option<Box<User>>The user that created the reaction.
external_user: Option<Box<ExternalUser>>The external user that created the reaction.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reaction
impl<'de> Deserialize<'de> for Reaction
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 Reaction
impl GraphQLFields for Reaction
Auto Trait Implementations§
impl Freeze for Reaction
impl RefUnwindSafe for Reaction
impl Send for Reaction
impl Sync for Reaction
impl Unpin for Reaction
impl UnwindSafe for Reaction
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