use chrono::prelude::*; #[derive(Serialize, Deserialize, Default, Debug)] pub struct Root { pub me: Vec, } #[derive(Serialize, Deserialize, Default, Debug)] pub struct School { pub name: String, } #[derive(Serialize, Deserialize, Default, Debug)] pub struct Location { #[serde(rename = "type")] pub kind: String, pub coordinates: Vec, } #[derive(Serialize, Deserialize, Default, Debug)] pub struct Person { //pub uid: Option, pub name: String, pub age: Option, pub dob: Option>, pub married: Option, #[serde(rename = "raw_bytes")] pub raw: Option>, #[serde(rename = "friend")] pub friends: Option>, #[serde(rename = "loc")] pub location: Option, pub school: Option>, }