-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathres.rs
29 lines (27 loc) · 886 Bytes
/
res.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Entry {
pub id: String,
pub email: Option<Vec<String>>,
pub ip_address: Option<Vec<String>>,
pub username: Option<Vec<String>>,
pub password: Option<Vec<String>>,
pub hashed_password: Option<Vec<String>>,
pub name: Option<Vec<String>>,
pub dob: Option<Vec<String>>,
pub license_plate: Option<Vec<String>>,
pub address: Option<Vec<String>>,
pub phone: Option<Vec<String>>,
pub company: Option<Vec<String>>,
pub url: Option<Vec<String>>,
pub social: Option<Vec<String>>,
pub cryptocurrency_address: Option<Vec<String>>,
pub database_name: String,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Response {
pub balance: usize,
pub entries: Option<Vec<Entry>>,
pub took: String,
pub total: usize,
}