pub struct ServiceContractsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ServiceContractsBuilder<S>
impl<S: State> ServiceContractsBuilder<S>
Sourcepub fn build(self) -> ServiceContractswhere
S: IsComplete,
pub fn build(self) -> ServiceContractswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn location_id(
self,
value: LocationId,
) -> ServiceContractsBuilder<SetLocationId<S>>where
S::LocationId: IsUnset,
pub fn location_id(
self,
value: LocationId,
) -> ServiceContractsBuilder<SetLocationId<S>>where
S::LocationId: IsUnset,
Required.
Location id fact promoted into this operations contract.
Sourcepub fn boarding(
self,
value: Contract,
) -> ServiceContractsBuilder<SetBoarding<S>>where
S::Boarding: IsUnset,
pub fn boarding(
self,
value: Contract,
) -> ServiceContractsBuilder<SetBoarding<S>>where
S::Boarding: IsUnset,
Required.
Boarding fact promoted into this operations contract.
Sourcepub fn daycare(self, value: Contract) -> ServiceContractsBuilder<SetDaycare<S>>where
S::Daycare: IsUnset,
pub fn daycare(self, value: Contract) -> ServiceContractsBuilder<SetDaycare<S>>where
S::Daycare: IsUnset,
Required.
Daycare fact promoted into this operations contract.
Sourcepub fn grooming(
self,
value: Contract,
) -> ServiceContractsBuilder<SetGrooming<S>>where
S::Grooming: IsUnset,
pub fn grooming(
self,
value: Contract,
) -> ServiceContractsBuilder<SetGrooming<S>>where
S::Grooming: IsUnset,
Required.
Grooming fact promoted into this operations contract.
Sourcepub fn training(
self,
value: Contract,
) -> ServiceContractsBuilder<SetTraining<S>>where
S::Training: IsUnset,
pub fn training(
self,
value: Contract,
) -> ServiceContractsBuilder<SetTraining<S>>where
S::Training: IsUnset,
Required.
Training fact promoted into this operations contract.
Sourcepub fn retail(self, value: Contract) -> ServiceContractsBuilder<SetRetail<S>>where
S::Retail: IsUnset,
pub fn retail(self, value: Contract) -> ServiceContractsBuilder<SetRetail<S>>where
S::Retail: IsUnset,
Required.
Retail fact promoted into this operations contract.
Auto Trait Implementations§
impl<S> Freeze for ServiceContractsBuilder<S>
impl<S> RefUnwindSafe for ServiceContractsBuilder<S>
impl<S> Send for ServiceContractsBuilder<S>
impl<S> Sync for ServiceContractsBuilder<S>
impl<S> Unpin for ServiceContractsBuilder<S>
impl<S> UnsafeUnpin for ServiceContractsBuilder<S>
impl<S> UnwindSafe for ServiceContractsBuilder<S>
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