Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit a4dbeaea authored by Ida Made Revindra Dikta Mahendra's avatar Ida Made Revindra Dikta Mahendra
Browse files

[CHORE]: Create Subscriber model struct

parent fc40644f
Branches
No related tags found
Loading
pub mod product; pub mod product;
pub mod subscriber;
use rocket::serde::{Deserialize, Serialize};
use rocket::log;
use rocket::serde::json::to_string;
use rocket::tokio;
use bambangshop::REQWEST_CLIENT;
use crate::model::notification::Notification;
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(crate = "rocket::serde")]
pub struct Subscriber {
pub url: String,
pub name: String,
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment