| 14 | #[storable] |
| 15 | #[derive(Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] |
| 16 | pub struct Notification { |
| 17 | pub id: NotificationId, |
| 18 | pub notification_type: NotificationType, |
| 19 | pub status: NotificationStatus, |
| 20 | /// The user that the notification is targeted to. |
| 21 | pub target_user_id: UserId, |
| 22 | /// The title of the notification set in a single locale. |
| 23 | pub title: String, |
| 24 | /// The message of the notification set in a single locale. |
| 25 | pub message: Option<String>, |
| 26 | pub created_timestamp: Timestamp, |
| 27 | pub last_modification_timestamp: Timestamp, |
| 28 | } |
| 29 | |
| 30 | #[storable] |
| 31 | #[derive(Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] |
no outgoing calls
no test coverage detected