pub struct Candidate {
pub customer_id: CustomerId,
pub pet_id: PetId,
pub location_id: LocationId,
pub product: Product,
pub reason: Reason,
pub rationale: Text,
pub care_sensitivity: CareSensitivity,
pub inventory: Availability,
pub customer_preference: Preference,
}Expand description
Retail recommendation candidate containing customer/pet context, product, rationale, inventory, preference, and care-safety signals.
Fields§
§customer_id: CustomerIdSource-derived customer id carried by this retail contract.
pet_id: PetIdPet receiving the grooming or care service.
location_id: LocationIdSource-derived location id carried by this retail contract.
product: ProductSource-derived product carried by this retail contract.
reason: ReasonBusiness reason staff should review before proceeding.
rationale: TextSource-derived rationale carried by this retail contract.
care_sensitivity: CareSensitivitySource-derived care sensitivity carried by this retail contract.
inventory: AvailabilitySource-derived inventory carried by this retail contract.
customer_preference: PreferenceSource-derived customer preference carried by this retail contract.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Candidate
impl<'de> Deserialize<'de> for Candidate
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 Candidate
impl StructuralPartialEq for Candidate
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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