Trait schema_org_types::DoseScheduleTrait
source · pub trait DoseScheduleTrait {
// Required methods
fn get_dose_unit(&self) -> &[DoseUnitProperty];
fn take_dose_unit(&mut self) -> Vec<DoseUnitProperty>;
fn get_dose_value(&self) -> &[DoseValueProperty];
fn take_dose_value(&mut self) -> Vec<DoseValueProperty>;
fn get_frequency(&self) -> &[FrequencyProperty];
fn take_frequency(&mut self) -> Vec<FrequencyProperty>;
fn get_target_population(&self) -> &[TargetPopulationProperty];
fn take_target_population(&mut self) -> Vec<TargetPopulationProperty>;
}
Expand description
This trait is for properties from https://schema.org/DoseSchedule.
Required Methods§
sourcefn get_dose_unit(&self) -> &[DoseUnitProperty]
fn get_dose_unit(&self) -> &[DoseUnitProperty]
Get https://schema.org/doseUnit from Self
as borrowed slice.
sourcefn take_dose_unit(&mut self) -> Vec<DoseUnitProperty>
fn take_dose_unit(&mut self) -> Vec<DoseUnitProperty>
Take https://schema.org/doseUnit from Self
as owned vector.
sourcefn get_dose_value(&self) -> &[DoseValueProperty]
fn get_dose_value(&self) -> &[DoseValueProperty]
Get https://schema.org/doseValue from Self
as borrowed slice.
sourcefn take_dose_value(&mut self) -> Vec<DoseValueProperty>
fn take_dose_value(&mut self) -> Vec<DoseValueProperty>
Take https://schema.org/doseValue from Self
as owned vector.
sourcefn get_frequency(&self) -> &[FrequencyProperty]
fn get_frequency(&self) -> &[FrequencyProperty]
Get https://schema.org/frequency from Self
as borrowed slice.
sourcefn take_frequency(&mut self) -> Vec<FrequencyProperty>
fn take_frequency(&mut self) -> Vec<FrequencyProperty>
Take https://schema.org/frequency from Self
as owned vector.
sourcefn get_target_population(&self) -> &[TargetPopulationProperty]
fn get_target_population(&self) -> &[TargetPopulationProperty]
Get https://schema.org/targetPopulation from Self
as borrowed slice.
sourcefn take_target_population(&mut self) -> Vec<TargetPopulationProperty>
fn take_target_population(&mut self) -> Vec<TargetPopulationProperty>
Take https://schema.org/targetPopulation from Self
as owned vector.