alert-me/app/src/json/contact.rs

9 lines
209 B
Rust
Raw Normal View History

2024-05-08 16:12:49 +00:00
use serde::{Deserialize, Serialize};
2024-05-11 16:37:41 +00:00
#[derive(Debug, Clone, Serialize, Deserialize)]
2024-05-08 16:12:49 +00:00
#[serde(rename_all = "camelCase")]
pub struct Contact {
pub contact: String,
pub contact_origin: Option<String>,
}