Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 1f8d0cbb authored by DawnFall19's avatar DawnFall19
Browse files

Create SubscriberRequest model struct.

parent d8438355
No related branches found
No related tags found
No related merge requests found
pub mod subscriber;
\ No newline at end of file
use rocket::serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Deserialize, Serialize)]
#[serde(crate = "rocket::serde")]
pub struct SubscriberRequest {
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.
Finish editing this message first!
Please register or to comment