pub struct ServiceContracts {
pub location_id: LocationId,
pub boarding: Contract,
pub daycare: Contract,
pub grooming: Contract,
pub training: Contract,
pub retail: Contract,
}Expand description
Service-line operating bundle for one resort/location.
Fields§
§location_id: LocationIdLocation whose service contracts and outcomes are being compared in local or regional reports.
boarding: ContractBoarding contract that owns stay, suite, minimum-stay, and checkout-exception rules.
daycare: ContractDaycare contract that owns group-play eligibility, package, and ratio rules.
grooming: ContractGrooming contract that owns service duration, rebooking cadence, add-on, and no-show rules.
training: ContractTraining contract that owns program progress, package, graduation, and trainer handoff rules.
retail: ContractRetail contract that owns catalog, inventory, POS, recommendation, and reorder gates.
Implementations§
Source§impl ServiceContracts
impl ServiceContracts
Sourcepub fn builder() -> ServiceContractsBuilder
pub fn builder() -> ServiceContractsBuilder
Create an instance of ServiceContracts using the builder syntax
Source§impl ServiceContracts
impl ServiceContracts
Sourcepub fn core_services(&self) -> [ServiceLine; 5]
pub fn core_services(&self) -> [ServiceLine; 5]
Returns the five service lines whose demand and staffing drive daily labor plans.
Trait Implementations§
Source§impl Clone for ServiceContracts
impl Clone for ServiceContracts
Source§fn clone(&self) -> ServiceContracts
fn clone(&self) -> ServiceContracts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceContracts
impl Debug for ServiceContracts
Source§impl<'de> Deserialize<'de> for ServiceContracts
impl<'de> Deserialize<'de> for ServiceContracts
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
Source§impl PartialEq for ServiceContracts
impl PartialEq for ServiceContracts
Source§impl Serialize for ServiceContracts
impl Serialize for ServiceContracts
impl Eq for ServiceContracts
impl StructuralPartialEq for ServiceContracts
Auto Trait Implementations§
impl Freeze for ServiceContracts
impl RefUnwindSafe for ServiceContracts
impl Send for ServiceContracts
impl Sync for ServiceContracts
impl Unpin for ServiceContracts
impl UnsafeUnpin for ServiceContracts
impl UnwindSafe for ServiceContracts
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