Trait schema_org_types::MedicalStudyTrait
source · pub trait MedicalStudyTrait {
// Required methods
fn get_health_condition(&self) -> &[HealthConditionProperty];
fn take_health_condition(&mut self) -> Vec<HealthConditionProperty>;
fn get_sponsor(&self) -> &[SponsorProperty];
fn take_sponsor(&mut self) -> Vec<SponsorProperty>;
fn get_status(&self) -> &[StatusProperty];
fn take_status(&mut self) -> Vec<StatusProperty>;
fn get_study_location(&self) -> &[StudyLocationProperty];
fn take_study_location(&mut self) -> Vec<StudyLocationProperty>;
fn get_study_subject(&self) -> &[StudySubjectProperty];
fn take_study_subject(&mut self) -> Vec<StudySubjectProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalStudy.
Required Methods§
sourcefn get_health_condition(&self) -> &[HealthConditionProperty]
fn get_health_condition(&self) -> &[HealthConditionProperty]
Get https://schema.org/healthCondition from Self
as borrowed slice.
sourcefn take_health_condition(&mut self) -> Vec<HealthConditionProperty>
fn take_health_condition(&mut self) -> Vec<HealthConditionProperty>
Take https://schema.org/healthCondition from Self
as owned vector.
sourcefn get_sponsor(&self) -> &[SponsorProperty]
fn get_sponsor(&self) -> &[SponsorProperty]
Get https://schema.org/sponsor from Self
as borrowed slice.
sourcefn take_sponsor(&mut self) -> Vec<SponsorProperty>
fn take_sponsor(&mut self) -> Vec<SponsorProperty>
Take https://schema.org/sponsor from Self
as owned vector.
sourcefn get_status(&self) -> &[StatusProperty]
fn get_status(&self) -> &[StatusProperty]
Get https://schema.org/status from Self
as borrowed slice.
sourcefn take_status(&mut self) -> Vec<StatusProperty>
fn take_status(&mut self) -> Vec<StatusProperty>
Take https://schema.org/status from Self
as owned vector.
sourcefn get_study_location(&self) -> &[StudyLocationProperty]
fn get_study_location(&self) -> &[StudyLocationProperty]
Get https://schema.org/studyLocation from Self
as borrowed slice.
sourcefn take_study_location(&mut self) -> Vec<StudyLocationProperty>
fn take_study_location(&mut self) -> Vec<StudyLocationProperty>
Take https://schema.org/studyLocation from Self
as owned vector.
sourcefn get_study_subject(&self) -> &[StudySubjectProperty]
fn get_study_subject(&self) -> &[StudySubjectProperty]
Get https://schema.org/studySubject from Self
as borrowed slice.
sourcefn take_study_subject(&mut self) -> Vec<StudySubjectProperty>
fn take_study_subject(&mut self) -> Vec<StudySubjectProperty>
Take https://schema.org/studySubject from Self
as owned vector.