pub trait PhysicalActivityTrait {
// Required methods
fn get_associated_anatomy(&self) -> &[AssociatedAnatomyProperty];
fn take_associated_anatomy(&mut self) -> Vec<AssociatedAnatomyProperty>;
fn get_category(&self) -> &[CategoryProperty];
fn take_category(&mut self) -> Vec<CategoryProperty>;
fn get_epidemiology(&self) -> &[EpidemiologyProperty];
fn take_epidemiology(&mut self) -> Vec<EpidemiologyProperty>;
fn get_pathophysiology(&self) -> &[PathophysiologyProperty];
fn take_pathophysiology(&mut self) -> Vec<PathophysiologyProperty>;
}
Expand description
This trait is for properties from https://schema.org/PhysicalActivity.
Required Methods§
sourcefn get_associated_anatomy(&self) -> &[AssociatedAnatomyProperty]
fn get_associated_anatomy(&self) -> &[AssociatedAnatomyProperty]
Get https://schema.org/associatedAnatomy from Self
as borrowed slice.
sourcefn take_associated_anatomy(&mut self) -> Vec<AssociatedAnatomyProperty>
fn take_associated_anatomy(&mut self) -> Vec<AssociatedAnatomyProperty>
Take https://schema.org/associatedAnatomy from Self
as owned vector.
sourcefn get_category(&self) -> &[CategoryProperty]
fn get_category(&self) -> &[CategoryProperty]
Get https://schema.org/category from Self
as borrowed slice.
sourcefn take_category(&mut self) -> Vec<CategoryProperty>
fn take_category(&mut self) -> Vec<CategoryProperty>
Take https://schema.org/category from Self
as owned vector.
sourcefn get_epidemiology(&self) -> &[EpidemiologyProperty]
fn get_epidemiology(&self) -> &[EpidemiologyProperty]
Get https://schema.org/epidemiology from Self
as borrowed slice.
sourcefn take_epidemiology(&mut self) -> Vec<EpidemiologyProperty>
fn take_epidemiology(&mut self) -> Vec<EpidemiologyProperty>
Take https://schema.org/epidemiology from Self
as owned vector.
sourcefn get_pathophysiology(&self) -> &[PathophysiologyProperty]
fn get_pathophysiology(&self) -> &[PathophysiologyProperty]
Get https://schema.org/pathophysiology from Self
as borrowed slice.
sourcefn take_pathophysiology(&mut self) -> Vec<PathophysiologyProperty>
fn take_pathophysiology(&mut self) -> Vec<PathophysiologyProperty>
Take https://schema.org/pathophysiology from Self
as owned vector.