pub struct PrescriptionForm {
pub form_code: String,
pub simplified_form_code: Option<String>,
pub num_active_ingredients: Option<String>,
pub active_ingredients: Vec<ActiveIngredient>,
pub admin_routes: Vec<AdminRoute>,
}Expand description
Pharmaceutical form for a prescription
Fields§
§form_code: String§simplified_form_code: Option<String>§num_active_ingredients: Option<String>§active_ingredients: Vec<ActiveIngredient>§admin_routes: Vec<AdminRoute>Trait Implementations§
Source§impl Clone for PrescriptionForm
impl Clone for PrescriptionForm
Source§fn clone(&self) -> PrescriptionForm
fn clone(&self) -> PrescriptionForm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrescriptionForm
impl Debug for PrescriptionForm
Source§impl<'de> Deserialize<'de> for PrescriptionForm
impl<'de> Deserialize<'de> for PrescriptionForm
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
Auto Trait Implementations§
impl Freeze for PrescriptionForm
impl RefUnwindSafe for PrescriptionForm
impl Send for PrescriptionForm
impl Sync for PrescriptionForm
impl Unpin for PrescriptionForm
impl UnsafeUnpin for PrescriptionForm
impl UnwindSafe for PrescriptionForm
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