pub trait DrugStrengthTrait {
    // Required methods
    fn get_active_ingredient(&self) -> &[ActiveIngredientProperty];
    fn take_active_ingredient(&mut self) -> Vec<ActiveIngredientProperty>;
    fn get_available_in(&self) -> &[AvailableInProperty];
    fn take_available_in(&mut self) -> Vec<AvailableInProperty>;
    fn get_maximum_intake(&self) -> &[MaximumIntakeProperty];
    fn take_maximum_intake(&mut self) -> Vec<MaximumIntakeProperty>;
    fn get_strength_unit(&self) -> &[StrengthUnitProperty];
    fn take_strength_unit(&mut self) -> Vec<StrengthUnitProperty>;
    fn get_strength_value(&self) -> &[StrengthValueProperty];
    fn take_strength_value(&mut self) -> Vec<StrengthValueProperty>;
}
Expand description

This trait is for properties from https://schema.org/DrugStrength.

Required Methods§

Implementors§