pub struct Contract {
pub attendance: AttendancePolicy,
pub package: PackagePolicy,
pub ratio: StaffPetRatio,
pub group_assignment: GroupAssignmentRule,
pub incident: Policy,
pub eligibility: Vec<EligibilityRequirement>,
}Expand description
Daycare service-line contract combining attendance, package, ratio, assignment, incident, and eligibility policy.
Fields§
§attendance: AttendancePolicyAttendance gate controlling reservations, drop-ins, and waitlist routing.
package: PackagePolicyPackage or payment model used for front-desk collection and sales opportunities.
ratio: StaffPetRatioStaff-to-pet ratio that defines safe coverage for daycare operations.
group_assignment: GroupAssignmentRuleAssignment rule that protects playgroup fit and care safety.
incident: PolicyIncident handling policy that can require manager review or customer notice.
eligibility: Vec<EligibilityRequirement>Eligibility requirements that must be evidenced before group-play automation proceeds.
Implementations§
Source§impl Contract
impl Contract
Sourcepub fn builder() -> ContractBuilder
pub fn builder() -> ContractBuilder
Create an instance of Contract using the builder syntax
Source§impl Contract
impl Contract
Sourcepub fn requires_staff_review_before_group_play(&self) -> bool
pub fn requires_staff_review_before_group_play(&self) -> bool
Reports whether this contract requires staff review before admitting a pet to group play.
Sourcepub fn standard_petsuites() -> Self
pub fn standard_petsuites() -> Self
Builds the baseline PetSuites-style daycare contract used by examples and tests.