userlib/jsonb/
contact_details.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct ContactDetails {
    pub mobile_phone: Option<String>,
    pub mobile_comment: Option<String>,
    pub home_phone: Option<String>,
    pub home_comment: Option<String>,
    pub work_phone: Option<String>,
    pub work_comment: Option<String>,
    pub email: Option<String>,
}