Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 89729277 authored by TheoKevH's avatar TheoKevH
Browse files

Create SubscriberRequest model struct

parent bfb0d975
No related branches found
No related tags found
No related merge requests found
...@@ -139,3 +139,5 @@ $RECYCLE.BIN/ ...@@ -139,3 +139,5 @@ $RECYCLE.BIN/
*.lnk *.lnk
# End of https://www.toptal.com/developers/gitignore/api/rust,linux,windows,database,rust-analyzer,visualstudiocode,venv,dotenv,virtualenv,direnv,jenv,git # End of https://www.toptal.com/developers/gitignore/api/rust,linux,windows,database,rust-analyzer,visualstudiocode,venv,dotenv,virtualenv,direnv,jenv,git
.idea
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.
Please register or to comment