pub struct PersonalInfoResponse {
pub age: Option<i64>,
pub biological_sex: Option<String>,
pub email: Option<String>,
pub height: Option<f64>,
pub id: String,
pub weight: Option<f64>,
}Expand description
PersonalInfoResponse
JSON schema
{
"title": "PersonalInfoResponse",
"type": "object",
"required": [
"id"
],
"properties": {
"age": {
"title": "Age",
"type": [
"integer",
"null"
]
},
"biological_sex": {
"title": "Biological Sex",
"type": [
"string",
"null"
]
},
"email": {
"title": "Email",
"type": [
"string",
"null"
]
},
"height": {
"title": "Height",
"type": [
"number",
"null"
]
},
"id": {
"title": "Id",
"type": "string"
},
"weight": {
"title": "Weight",
"type": [
"number",
"null"
]
}
}
}Fields§
§age: Option<i64>§biological_sex: Option<String>§email: Option<String>§height: Option<f64>§id: String§weight: Option<f64>Trait Implementations§
Source§impl Clone for PersonalInfoResponse
impl Clone for PersonalInfoResponse
Source§impl Debug for PersonalInfoResponse
impl Debug for PersonalInfoResponse
Source§impl<'de> Deserialize<'de> for PersonalInfoResponse
impl<'de> Deserialize<'de> for PersonalInfoResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PersonalInfoResponse
impl RefUnwindSafe for PersonalInfoResponse
impl Send for PersonalInfoResponse
impl Sync for PersonalInfoResponse
impl Unpin for PersonalInfoResponse
impl UnsafeUnpin for PersonalInfoResponse
impl UnwindSafe for PersonalInfoResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more