pub trait MedicalWebPageTrait {
// Required methods
fn get_aspect(&self) -> &[AspectProperty];
fn take_aspect(&mut self) -> Vec<AspectProperty>;
fn get_medical_audience(&self) -> &[MedicalAudienceProperty];
fn take_medical_audience(&mut self) -> Vec<MedicalAudienceProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalWebPage.
Required Methods§
sourcefn get_aspect(&self) -> &[AspectProperty]
fn get_aspect(&self) -> &[AspectProperty]
👎Deprecated: This schema is superseded by https://schema.org/mainContentOfPage.
Get https://schema.org/aspect from Self
as borrowed slice.
sourcefn take_aspect(&mut self) -> Vec<AspectProperty>
fn take_aspect(&mut self) -> Vec<AspectProperty>
👎Deprecated: This schema is superseded by https://schema.org/mainContentOfPage.
Take https://schema.org/aspect from Self
as owned vector.
sourcefn get_medical_audience(&self) -> &[MedicalAudienceProperty]
fn get_medical_audience(&self) -> &[MedicalAudienceProperty]
Get https://schema.org/medicalAudience from Self
as borrowed slice.
sourcefn take_medical_audience(&mut self) -> Vec<MedicalAudienceProperty>
fn take_medical_audience(&mut self) -> Vec<MedicalAudienceProperty>
Take https://schema.org/medicalAudience from Self
as owned vector.