pub struct AllergyReport {
pub id: String,
pub substance: String,
pub reaction: Option<String>,
pub severity: Option<String>,
pub notes: Option<String>,
}Expand description
Owner-reported allergy or intolerance.
Fields§
§id: String§substance: String§reaction: Option<String>§severity: Option<String>§notes: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for AllergyReport
impl Clone for AllergyReport
Source§impl Debug for AllergyReport
impl Debug for AllergyReport
Source§impl<'de> Deserialize<'de> for AllergyReport
impl<'de> Deserialize<'de> for AllergyReport
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
impl Eq for AllergyReport
Source§impl PartialEq for AllergyReport
impl PartialEq for AllergyReport
Source§impl Serialize for AllergyReport
impl Serialize for AllergyReport
impl StructuralPartialEq for AllergyReport
Auto Trait Implementations§
impl Freeze for AllergyReport
impl RefUnwindSafe for AllergyReport
impl Send for AllergyReport
impl Sync for AllergyReport
impl Unpin for AllergyReport
impl UnsafeUnpin for AllergyReport
impl UnwindSafe for AllergyReport
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