pub struct PersonalInfo {
pub id: String,
pub age: Option<u32>,
pub weight: Option<f32>,
pub height: Option<f32>,
pub biological_sex: Option<String>,
pub email: Option<String>,
}
Fields§
§id: String
§age: Option<u32>
§weight: Option<f32>
§height: Option<f32>
§biological_sex: Option<String>
§email: Option<String>
Trait Implementations§
Source§impl Debug for PersonalInfo
impl Debug for PersonalInfo
Source§impl<'de> Deserialize<'de> for PersonalInfo
impl<'de> Deserialize<'de> for PersonalInfo
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
Source§impl PartialEq for PersonalInfo
impl PartialEq for PersonalInfo
impl StructuralPartialEq for PersonalInfo
Auto Trait Implementations§
impl Freeze for PersonalInfo
impl RefUnwindSafe for PersonalInfo
impl Send for PersonalInfo
impl Sync for PersonalInfo
impl Unpin for PersonalInfo
impl UnwindSafe for PersonalInfo
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