notificationlib/dto/
notification_user_request.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug, Clone)]
4#[serde(rename_all = "camelCase")]
5pub struct NotificationUserRequest {
6    pub email: String,
7    pub name: String,
8    pub header: String,
9    pub text: String,
10}