pub struct Evidence {
pub customer_id: CustomerId,
pub pet_id: PetId,
pub attendance_visits: AttendanceVisitCount,
pub eligibility: CareEligibility,
pub package_state: PackageState,
pub payment_state: PaymentState,
}Expand description
Source evidence used to classify daycare package or membership opportunities.
Fields§
§customer_id: CustomerIdCustomer account that would receive the package recommendation.
pet_id: PetIdPet whose attendance history and care eligibility drive the recommendation.
attendance_visits: AttendanceVisitCountRecent visit count used as the demand signal for package scoring.
eligibility: CareEligibilityCare/safety eligibility that can suppress recommendations.
package_state: PackageStateExisting package coverage used to avoid duplicate sales prompts.
payment_state: PaymentStateBilling readiness used to suppress recommendations needing collection review.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Evidence
impl<'de> Deserialize<'de> for Evidence
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 Copy for Evidence
impl Eq for Evidence
impl StructuralPartialEq for Evidence
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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