pub struct Pet {
pub id: PetId,
pub customer_id: CustomerId,
pub name: Name,
pub species: Species,
pub birth_date: Option<NaiveDate>,
pub sex: Option<Sex>,
pub spay_neuter_status: SpayNeuterStatus,
pub temperament: TemperamentProfile,
pub care_profile: CareProfile,
}Expand description
Pet profile carrying identity, species, age, sex, sterilization, temperament, and care facts for safe service decisions.
Fields§
§id: PetIdSource-backed id carried by this normalized pet-resort entity.
customer_id: CustomerIdSource-backed customer ID carried by this normalized pet-resort entity.
name: NameContact or display name used by staff.
species: SpeciesSource-backed species carried by this normalized pet-resort entity.
birth_date: Option<NaiveDate>Source-backed birth date carried by this normalized pet-resort entity.
sex: Option<Sex>Source-backed sex carried by this normalized pet-resort entity.
spay_neuter_status: SpayNeuterStatusSource-backed spay neuter status carried by this normalized pet-resort entity.
temperament: TemperamentProfileSource-backed temperament carried by this normalized pet-resort entity.
care_profile: CareProfileSource-backed care profile carried by this normalized pet-resort entity.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pet
impl<'de> Deserialize<'de> for Pet
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 Pet
impl StructuralPartialEq for Pet
Auto Trait Implementations§
impl Freeze for Pet
impl RefUnwindSafe for Pet
impl Send for Pet
impl Sync for Pet
impl Unpin for Pet
impl UnsafeUnpin for Pet
impl UnwindSafe for Pet
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