pub struct IssueNotification {Show 35 fields
pub comment_id: Option<String>,
pub parent_comment_id: Option<String>,
pub reaction_emoji: Option<String>,
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub type: Option<String>,
pub actor: Option<Box<User>>,
pub external_user_actor: Option<Box<ExternalUser>>,
pub user: Option<Box<User>>,
pub read_at: Option<DateTime<Utc>>,
pub emailed_at: Option<DateTime<Utc>>,
pub snoozed_until_at: Option<DateTime<Utc>>,
pub unsnoozed_at: Option<DateTime<Utc>>,
pub category: Option<NotificationCategory>,
pub url: Option<String>,
pub inbox_url: Option<String>,
pub title: Option<String>,
pub subtitle: Option<String>,
pub is_linear_actor: Option<bool>,
pub actor_avatar_url: Option<String>,
pub actor_initials: Option<String>,
pub actor_avatar_color: Option<String>,
pub issue_status_type: Option<String>,
pub project_update_health: Option<String>,
pub initiative_update_health: Option<String>,
pub grouping_key: Option<String>,
pub grouping_priority: Option<f64>,
pub bot_actor: Option<Box<ActorBot>>,
pub issue_id: Option<String>,
pub issue: Option<Box<Issue>>,
pub comment: Option<Box<Comment>>,
pub parent_comment: Option<Box<Comment>>,
pub team: Option<Box<Team>>,
}Expand description
An issue related notification.
Fields§
§comment_id: Option<String>Related comment ID. Null if the notification is not related to a comment.
parent_comment_id: Option<String>Related parent comment ID. Null if the notification is not related to a comment.
reaction_emoji: Option<String>Name of the reaction emoji related to the notification.
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.
type: Option<String>Notification type.
actor: Option<Box<User>>The user that caused the notification.
external_user_actor: Option<Box<ExternalUser>>The external user that caused the notification.
user: Option<Box<User>>The user that received the notification.
read_at: Option<DateTime<Utc>>The time at when the user marked the notification as read. Null, if the the user hasn’t read the notification
emailed_at: Option<DateTime<Utc>>The time at when an email reminder for this notification was sent to the user. Null, if no email reminder has been sent.
snoozed_until_at: Option<DateTime<Utc>>The time until a notification will be snoozed. After that it will appear in the inbox again.
unsnoozed_at: Option<DateTime<Utc>>The time at which a notification was unsnoozed..
category: Option<NotificationCategory>The category of the notification.
url: Option<String>Internal URL to the target of the notification.
inbox_url: Option<String>Internal Inbox URL for the notification.
title: Option<String>Internal Notification title.
subtitle: Option<String>Internal Notification subtitle.
is_linear_actor: Option<bool>Internal If notification actor was Linear.
actor_avatar_url: Option<String>Internal Notification avatar URL.
actor_initials: Option<String>Internal Notification actor initials if avatar is not available.
actor_avatar_color: Option<String>Internal Notification actor initials if avatar is not available.
issue_status_type: Option<String>Internal Issue’s status type for issue notifications.
project_update_health: Option<String>Internal Project update health for new updates.
initiative_update_health: Option<String>Internal Initiative update health for new updates.
grouping_key: Option<String>Internal Notifications with the same grouping key will be grouped together in the UI.
grouping_priority: Option<f64>Internal Priority of the notification with the same grouping key. Higher number means higher priority. If priority is the same, notifications should be sorted by createdAt.
bot_actor: Option<Box<ActorBot>>The bot that caused the notification.
issue_id: Option<String>Related issue ID.
issue: Option<Box<Issue>>The issue related to the notification.
comment: Option<Box<Comment>>The comment related to the notification.
parent_comment: Option<Box<Comment>>The parent comment related to the notification, if a notification is a reply comment notification.
team: Option<Box<Team>>The team related to the issue notification.
Trait Implementations§
Source§impl Clone for IssueNotification
impl Clone for IssueNotification
Source§fn clone(&self) -> IssueNotification
fn clone(&self) -> IssueNotification
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more