0.3.0 Redone registration api, added debug/clone

This commit is contained in:
Aaron Power
2017-04-21 12:06:30 +01:00
parent 686c5129f3
commit a528624dc3
13 changed files with 261 additions and 166 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ use chrono::prelude::*;
use super::account::Account;
use super::status::Status;
#[derive(Deserialize)]
#[derive(Debug, Clone, Deserialize)]
pub struct Notification {
pub id: u64,
pub notification_type: NotificationType,
@@ -11,7 +11,7 @@ pub struct Notification {
pub status: Option<Status>,
}
#[derive(Deserialize)]
#[derive(Debug, Clone, Deserialize)]
pub enum NotificationType {
Mention,
Reblog,