Move form out

This commit is contained in:
Mo 2022-10-29 00:41:32 +02:00
parent dfe4290713
commit 6d388ed61b

11
src/forms.rs Normal file
View file

@ -0,0 +1,11 @@
use rocket::form::FromForm;
#[derive(FromForm)]
pub struct ContactForm {
pub id: u16,
pub name: String,
pub email: String,
pub telefon: String,
pub message: String,
pub captcha_answer: String,
}