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§

source

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.

source

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.

source

fn get_medical_audience(&self) -> &[MedicalAudienceProperty]

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

source

fn take_medical_audience(&mut self) -> Vec<MedicalAudienceProperty>

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

Implementors§