Changes IDs to Strings for compliance with APIv1 (#20)

This commit is contained in:
Johannes
2018-02-10 18:21:58 +00:00
committed by Aaron Power
parent 0ee5806534
commit 0b5441e52c
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use super::status::Status;
#[derive(Debug, Clone, Deserialize)]
pub struct Notification {
/// The notification ID.
pub id: u64,
pub id: String,
/// The type of notification.
#[serde(rename = "type")]
pub notification_type: NotificationType,