diff --git a/src/model/notification.rs b/src/model/notification.rs new file mode 100644 index 0000000000000000000000000000000000000000..961799ceb33c5a24da0c2a4a4f38b53166f4c2ae --- /dev/null +++ b/src/model/notification.rs @@ -0,0 +1,11 @@ +use rocket::serde::{Deserialize, Serialize}; + +#[derive(Debug, Clone, Deserialize, Serialize)] +#[serde(crate = "rocket::serde")] +pub struct Notification { + pub product_title: String, + pub product_type: String, + pub product_url: String, + pub subscriber_name: String, + pub status: String, +} \ No newline at end of file