pub struct Contract {
pub calendar: Policy,
pub time_estimates: Vec<TimeEstimate>,
pub no_show: Rule,
pub rebooking: Cadence,
pub reminders: Vec<Rule>,
pub history: HistoryRequirement,
}Expand description
Location grooming ruleset tying calendar assignment, estimate policy, no-show rules, rebooking cadence, reminders, and history retention together.
Fields§
§calendar: PolicyCalendar-assignment rule staff honor before drafting or reviewing grooming work.
time_estimates: Vec<TimeEstimate>Breed/coat duration estimates staff use for groomer-calendar planning.
no_show: RuleNo-show rule that controls whether repeat history creates deposit or manager review.
rebooking: CadenceRebooking cadence staff use when preparing due or overdue grooming prompts.
reminders: Vec<Rule>Reminder timing options that can be drafted only through customer-message review.
history: HistoryRequirementNo-show and late-cancel history staff review before choosing a rebooking path.
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_deposit_after_no_show(&self) -> bool
pub fn requires_deposit_after_no_show(&self) -> bool
Reports whether prior no-shows should trigger a deposit or manager review before rebooking.
Sourcepub fn standard_petsuites() -> Self
pub fn standard_petsuites() -> Self
Builds representative PetSuites-style grooming rules for docs/tests without claiming they are live policy.