pub trait DietarySupplementTrait {
Show 20 methods // Required methods fn get_active_ingredient(&self) -> &[ActiveIngredientProperty]; fn take_active_ingredient(&mut self) -> Vec<ActiveIngredientProperty>; fn get_is_proprietary(&self) -> &[IsProprietaryProperty]; fn take_is_proprietary(&mut self) -> Vec<IsProprietaryProperty>; fn get_legal_status(&self) -> &[LegalStatusProperty]; fn take_legal_status(&mut self) -> Vec<LegalStatusProperty>; fn get_maximum_intake(&self) -> &[MaximumIntakeProperty]; fn take_maximum_intake(&mut self) -> Vec<MaximumIntakeProperty>; fn get_mechanism_of_action(&self) -> &[MechanismOfActionProperty]; fn take_mechanism_of_action(&mut self) -> Vec<MechanismOfActionProperty>; fn get_non_proprietary_name(&self) -> &[NonProprietaryNameProperty]; fn take_non_proprietary_name(&mut self) -> Vec<NonProprietaryNameProperty>; fn get_proprietary_name(&self) -> &[ProprietaryNameProperty]; fn take_proprietary_name(&mut self) -> Vec<ProprietaryNameProperty>; fn get_recommended_intake(&self) -> &[RecommendedIntakeProperty]; fn take_recommended_intake(&mut self) -> Vec<RecommendedIntakeProperty>; fn get_safety_consideration(&self) -> &[SafetyConsiderationProperty]; fn take_safety_consideration(&mut self) -> Vec<SafetyConsiderationProperty>; 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/DietarySupplement.

Required Methods§

source

fn get_active_ingredient(&self) -> &[ActiveIngredientProperty]

Get https://schema.org/activeIngredient from Self as borrowed slice.

source

fn take_active_ingredient(&mut self) -> Vec<ActiveIngredientProperty>

Take https://schema.org/activeIngredient from Self as owned vector.

source

fn get_is_proprietary(&self) -> &[IsProprietaryProperty]

Get https://schema.org/isProprietary from Self as borrowed slice.

source

fn take_is_proprietary(&mut self) -> Vec<IsProprietaryProperty>

Take https://schema.org/isProprietary from Self as owned vector.

Get https://schema.org/legalStatus from Self as borrowed slice.

Take https://schema.org/legalStatus from Self as owned vector.

source

fn get_maximum_intake(&self) -> &[MaximumIntakeProperty]

Get https://schema.org/maximumIntake from Self as borrowed slice.

source

fn take_maximum_intake(&mut self) -> Vec<MaximumIntakeProperty>

Take https://schema.org/maximumIntake from Self as owned vector.

source

fn get_mechanism_of_action(&self) -> &[MechanismOfActionProperty]

Get https://schema.org/mechanismOfAction from Self as borrowed slice.

source

fn take_mechanism_of_action(&mut self) -> Vec<MechanismOfActionProperty>

Take https://schema.org/mechanismOfAction from Self as owned vector.

source

fn get_non_proprietary_name(&self) -> &[NonProprietaryNameProperty]

Get https://schema.org/nonProprietaryName from Self as borrowed slice.

source

fn take_non_proprietary_name(&mut self) -> Vec<NonProprietaryNameProperty>

Take https://schema.org/nonProprietaryName from Self as owned vector.

source

fn get_proprietary_name(&self) -> &[ProprietaryNameProperty]

Get https://schema.org/proprietaryName from Self as borrowed slice.

source

fn take_proprietary_name(&mut self) -> Vec<ProprietaryNameProperty>

Take https://schema.org/proprietaryName from Self as owned vector.

Get https://schema.org/recommendedIntake from Self as borrowed slice.

Take https://schema.org/recommendedIntake from Self as owned vector.

source

fn get_safety_consideration(&self) -> &[SafetyConsiderationProperty]

Get https://schema.org/safetyConsideration from Self as borrowed slice.

source

fn take_safety_consideration(&mut self) -> Vec<SafetyConsiderationProperty>

Take https://schema.org/safetyConsideration from Self as owned vector.

source

fn get_target_population(&self) -> &[TargetPopulationProperty]

Get https://schema.org/targetPopulation from Self as borrowed slice.

source

fn take_target_population(&mut self) -> Vec<TargetPopulationProperty>

Take https://schema.org/targetPopulation from Self as owned vector.

Implementors§