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 contract bundle for one resort/location’s operating model.
Fields§
§location_id: LocationIdLocation id fact promoted into this operations contract.
boarding: ContractBoarding fact promoted into this operations contract.
daycare: ContractDaycare fact promoted into this operations contract.
grooming: ContractGrooming fact promoted into this operations contract.
training: ContractTraining fact promoted into this operations contract.
retail: ContractRetail fact promoted into this operations contract.
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