userlib/jsonb/
doctor_info.rs

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

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct DoctorInfo {
    pub medical_condition: String,
    pub name: String,
    pub address: String,
    pub phone: String,
    pub key: i32,
}