Skip to main content

Module daycare

Module daycare 

Source
Expand description

Daycare contracts for eligibility, attendance, yard assignment, coverage, and throughput. Daycare service contracts for front-desk throughput, safe play, and package review.

The module keeps care mode, eligibility, staffing ratios, and package policy explicit so automated recommendations reduce check-in labor without bypassing staff review:

use domain::daycare;

let contract = daycare::Contract::standard_petsuites();
assert!(contract.requires_staff_review_before_group_play());
assert_eq!(
    daycare::ServiceVariant::DayBoarding.care_mode(),
    daycare::CareMode::DogIndividualDayBoarding,
);

Modules§

assignment
Daycare playgroup assignment decisions after eligibility and coverage are known.
attendance
Daycare recurring-attendance materialization for predictable front-desk work queues.
coverage
Daycare staff-coverage policy for group-play ratio review.
eligibility
Daycare group-play eligibility policy for source-grounded staff review.
front_desk
Daycare front-desk readiness decisions for faster, safer check-in lanes.
incident
Daycare incident disposition rules that preserve pet-safety review gates.
package_opportunity
Daycare package-opportunity policy for review-gated membership/pass recommendations.

Structs§

Contract
Daycare service-line contract combining attendance, package, ratio, assignment, incident, and eligibility policy.
ContractBuilder
Use builder syntax to set the inputs and finish with build().
PackageVisits
Positive scalar used by daycare policy where zero would hide real staffing, pet-count, queue, or package volume.
PetCount
Positive scalar used by daycare policy where zero would hide real staffing, pet-count, queue, or package volume.
StaffCount
Positive scalar used by daycare policy where zero would hide real staffing, pet-count, queue, or package volume.
StaffPetRatio
Staff-to-pet ratio used to decide whether group-play coverage is sufficient.

Enums§

AttendancePolicy
Attendance policy controlling whether daycare check-in is drop-in, reserved, or waitlisted.
CareMode
Operational care mode that determines whether group-play, individual care, or cat enrichment rules apply.
EligibilityRequirement
Evidence requirements that must be satisfied before daycare care modes proceed.
GroupAssignmentRule
Rule used to choose or restrict daycare group assignment.
PackagePolicy
Daycare payment/package model used for collection and recommendation workflows.
PackageVisitsError
Validation failure returned when a required positive daycare scalar is zero.
PetCountError
Validation failure returned when a required positive daycare scalar is zero.
ServiceVariant
Daycare service variant requested by a customer or reservation workflow.
StaffCountError
Validation failure returned when a required positive daycare scalar is zero.