Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 44b11261 authored by Christian Raphael Heryanto's avatar Christian Raphael Heryanto
Browse files

Create SubscriberRequest model struct.

parent bfb0d975
Branches
No related tags found
No related merge requests found
pub mod subscriber;
use rocket::serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(crate = "rocket::serde")]
pub struct SubscriberRequest {
pub url: String,
pub name: String,
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment