userlib/jsonb/contact_details.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
4#[serde(rename_all = "camelCase")]
5pub struct ContactDetails {
6 pub mobile_phone: Option<String>,
7 pub mobile_comment: Option<String>,
8 pub home_phone: Option<String>,
9 pub home_comment: Option<String>,
10 pub work_phone: Option<String>,
11 pub work_comment: Option<String>,
12 pub email: Option<String>,
13}