pub struct CareProfile {
pub feeding_instructions: Option<FeedingInstruction>,
pub medications: Vec<MedicationInstruction>,
pub allergies: Vec<AllergyName>,
pub medical_conditions: Vec<MedicalConditionName>,
pub emergency_contact: Option<ContactRef>,
pub veterinarian_contact: Option<ContactRef>,
}Expand description
Feeding, medication, handling, and special-care summary used for staff handoffs and briefings.
Fields§
§feeding_instructions: Option<FeedingInstruction>Source-backed feeding instructions carried by this normalized pet-resort entity.
medications: Vec<MedicationInstruction>Source-backed medications carried by this normalized pet-resort entity.
allergies: Vec<AllergyName>Source-backed allergies carried by this normalized pet-resort entity.
medical_conditions: Vec<MedicalConditionName>Source-backed medical conditions carried by this normalized pet-resort entity.
emergency_contact: Option<ContactRef>Source-backed emergency contact carried by this normalized pet-resort entity.
veterinarian_contact: Option<ContactRef>Source-backed veterinarian contact carried by this normalized pet-resort entity.
Trait Implementations§
Source§impl Clone for CareProfile
impl Clone for CareProfile
Source§fn clone(&self) -> CareProfile
fn clone(&self) -> CareProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CareProfile
impl Debug for CareProfile
Source§impl Default for CareProfile
impl Default for CareProfile
Source§fn default() -> CareProfile
fn default() -> CareProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CareProfile
impl<'de> Deserialize<'de> for CareProfile
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 CareProfile
impl PartialEq for CareProfile
Source§impl Serialize for CareProfile
impl Serialize for CareProfile
impl Eq for CareProfile
impl StructuralPartialEq for CareProfile
Auto Trait Implementations§
impl Freeze for CareProfile
impl RefUnwindSafe for CareProfile
impl Send for CareProfile
impl Sync for CareProfile
impl Unpin for CareProfile
impl UnsafeUnpin for CareProfile
impl UnwindSafe for CareProfile
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