pub struct MedicationInstruction {
pub name: MedicationName,
pub dose: MedicationDose,
pub schedule: MedicationSchedule,
pub review_requirement: MedicationReviewRequirement,
}Expand description
Medication instruction that must remain explicit for care safety and shift handoff evidence.
Fields§
§name: MedicationNameContact or display name used by staff.
dose: MedicationDoseSource-backed dose carried by this normalized pet-resort entity.
schedule: MedicationScheduleSource-backed schedule carried by this normalized pet-resort entity.
review_requirement: MedicationReviewRequirementSource-backed review requirement carried by this normalized pet-resort entity.
Implementations§
Source§impl MedicationInstruction
impl MedicationInstruction
Sourcepub fn builder() -> MedicationInstructionBuilder
pub fn builder() -> MedicationInstructionBuilder
Create an instance of MedicationInstruction using the builder syntax
Trait Implementations§
Source§impl Clone for MedicationInstruction
impl Clone for MedicationInstruction
Source§fn clone(&self) -> MedicationInstruction
fn clone(&self) -> MedicationInstruction
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 MedicationInstruction
impl Debug for MedicationInstruction
Source§impl<'de> Deserialize<'de> for MedicationInstruction
impl<'de> Deserialize<'de> for MedicationInstruction
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 MedicationInstruction
impl PartialEq for MedicationInstruction
Source§impl Serialize for MedicationInstruction
impl Serialize for MedicationInstruction
impl Eq for MedicationInstruction
impl StructuralPartialEq for MedicationInstruction
Auto Trait Implementations§
impl Freeze for MedicationInstruction
impl RefUnwindSafe for MedicationInstruction
impl Send for MedicationInstruction
impl Sync for MedicationInstruction
impl Unpin for MedicationInstruction
impl UnsafeUnpin for MedicationInstruction
impl UnwindSafe for MedicationInstruction
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