pub trait MedicalScholarlyArticleTrait {
// Required methods
fn get_publication_type(&self) -> &[PublicationTypeProperty];
fn take_publication_type(&mut self) -> Vec<PublicationTypeProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalScholarlyArticle.
Required Methods§
sourcefn get_publication_type(&self) -> &[PublicationTypeProperty]
fn get_publication_type(&self) -> &[PublicationTypeProperty]
Get https://schema.org/publicationType from Self
as borrowed slice.
sourcefn take_publication_type(&mut self) -> Vec<PublicationTypeProperty>
fn take_publication_type(&mut self) -> Vec<PublicationTypeProperty>
Take https://schema.org/publicationType from Self
as owned vector.