pub struct MedicationInstructionBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> MedicationInstructionBuilder<S>
impl<S: State> MedicationInstructionBuilder<S>
Sourcepub fn build(self) -> MedicationInstructionwhere
S: IsComplete,
pub fn build(self) -> MedicationInstructionwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn name(
self,
value: MedicationName,
) -> MedicationInstructionBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: MedicationName,
) -> MedicationInstructionBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Contact or display name used by staff.
Sourcepub fn dose(
self,
value: MedicationDose,
) -> MedicationInstructionBuilder<SetDose<S>>where
S::Dose: IsUnset,
pub fn dose(
self,
value: MedicationDose,
) -> MedicationInstructionBuilder<SetDose<S>>where
S::Dose: IsUnset,
Required.
Source-backed dose carried by this normalized pet-resort entity.
Sourcepub fn schedule(
self,
value: MedicationSchedule,
) -> MedicationInstructionBuilder<SetSchedule<S>>where
S::Schedule: IsUnset,
pub fn schedule(
self,
value: MedicationSchedule,
) -> MedicationInstructionBuilder<SetSchedule<S>>where
S::Schedule: IsUnset,
Required.
Source-backed schedule carried by this normalized pet-resort entity.
Sourcepub fn review_requirement(
self,
value: MedicationReviewRequirement,
) -> MedicationInstructionBuilder<SetReviewRequirement<S>>where
S::ReviewRequirement: IsUnset,
pub fn review_requirement(
self,
value: MedicationReviewRequirement,
) -> MedicationInstructionBuilder<SetReviewRequirement<S>>where
S::ReviewRequirement: IsUnset,
Required.
Source-backed review requirement carried by this normalized pet-resort entity.
Auto Trait Implementations§
impl<S> Freeze for MedicationInstructionBuilder<S>
impl<S> RefUnwindSafe for MedicationInstructionBuilder<S>
impl<S> Send for MedicationInstructionBuilder<S>
impl<S> Sync for MedicationInstructionBuilder<S>
impl<S> Unpin for MedicationInstructionBuilder<S>
impl<S> UnsafeUnpin for MedicationInstructionBuilder<S>
impl<S> UnwindSafe for MedicationInstructionBuilder<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