contact-form/src/context.rs

14 lines
276 B
Rust
Raw Normal View History

2022-10-29 15:12:43 +00:00
use serde::Serialize;
#[derive(Serialize)]
2022-10-31 01:13:42 +00:00
pub struct ContactForm<'a> {
2022-10-29 15:12:43 +00:00
pub path_prefix: &'a str,
pub was_validated: bool,
pub id: u16,
pub name: &'a str,
pub email: &'a str,
pub telefon: &'a str,
pub message: &'a str,
pub captcha: &'a str,
}