pub trait MedicalRiskFactorTrait {
// Required methods
fn get_increases_risk_of(&self) -> &[IncreasesRiskOfProperty];
fn take_increases_risk_of(&mut self) -> Vec<IncreasesRiskOfProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalRiskFactor.
Required Methods§
sourcefn get_increases_risk_of(&self) -> &[IncreasesRiskOfProperty]
fn get_increases_risk_of(&self) -> &[IncreasesRiskOfProperty]
Get https://schema.org/increasesRiskOf from Self
as borrowed slice.
sourcefn take_increases_risk_of(&mut self) -> Vec<IncreasesRiskOfProperty>
fn take_increases_risk_of(&mut self) -> Vec<IncreasesRiskOfProperty>
Take https://schema.org/increasesRiskOf from Self
as owned vector.