Trait schema_org_types::MedicalEntityTrait
source · pub trait MedicalEntityTrait {
Show 16 methods
// Required methods
fn get_code(&self) -> &[CodeProperty];
fn take_code(&mut self) -> Vec<CodeProperty>;
fn get_funding(&self) -> &[FundingProperty];
fn take_funding(&mut self) -> Vec<FundingProperty>;
fn get_guideline(&self) -> &[GuidelineProperty];
fn take_guideline(&mut self) -> Vec<GuidelineProperty>;
fn get_legal_status(&self) -> &[LegalStatusProperty];
fn take_legal_status(&mut self) -> Vec<LegalStatusProperty>;
fn get_medicine_system(&self) -> &[MedicineSystemProperty];
fn take_medicine_system(&mut self) -> Vec<MedicineSystemProperty>;
fn get_recognizing_authority(&self) -> &[RecognizingAuthorityProperty];
fn take_recognizing_authority(
&mut self
) -> Vec<RecognizingAuthorityProperty>;
fn get_relevant_specialty(&self) -> &[RelevantSpecialtyProperty];
fn take_relevant_specialty(&mut self) -> Vec<RelevantSpecialtyProperty>;
fn get_study(&self) -> &[StudyProperty];
fn take_study(&mut self) -> Vec<StudyProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalEntity.
Required Methods§
sourcefn get_code(&self) -> &[CodeProperty]
fn get_code(&self) -> &[CodeProperty]
Get https://schema.org/code from Self
as borrowed slice.
sourcefn take_code(&mut self) -> Vec<CodeProperty>
fn take_code(&mut self) -> Vec<CodeProperty>
Take https://schema.org/code from Self
as owned vector.
sourcefn get_funding(&self) -> &[FundingProperty]
fn get_funding(&self) -> &[FundingProperty]
Get https://schema.org/funding from Self
as borrowed slice.
sourcefn take_funding(&mut self) -> Vec<FundingProperty>
fn take_funding(&mut self) -> Vec<FundingProperty>
Take https://schema.org/funding from Self
as owned vector.
sourcefn get_guideline(&self) -> &[GuidelineProperty]
fn get_guideline(&self) -> &[GuidelineProperty]
Get https://schema.org/guideline from Self
as borrowed slice.
sourcefn take_guideline(&mut self) -> Vec<GuidelineProperty>
fn take_guideline(&mut self) -> Vec<GuidelineProperty>
Take https://schema.org/guideline from Self
as owned vector.
sourcefn get_legal_status(&self) -> &[LegalStatusProperty]
fn get_legal_status(&self) -> &[LegalStatusProperty]
Get https://schema.org/legalStatus from Self
as borrowed slice.
sourcefn take_legal_status(&mut self) -> Vec<LegalStatusProperty>
fn take_legal_status(&mut self) -> Vec<LegalStatusProperty>
Take https://schema.org/legalStatus from Self
as owned vector.
sourcefn get_medicine_system(&self) -> &[MedicineSystemProperty]
fn get_medicine_system(&self) -> &[MedicineSystemProperty]
Get https://schema.org/medicineSystem from Self
as borrowed slice.
sourcefn take_medicine_system(&mut self) -> Vec<MedicineSystemProperty>
fn take_medicine_system(&mut self) -> Vec<MedicineSystemProperty>
Take https://schema.org/medicineSystem from Self
as owned vector.
Get https://schema.org/recognizingAuthority from Self
as borrowed slice.
Take https://schema.org/recognizingAuthority from Self
as owned vector.
sourcefn get_relevant_specialty(&self) -> &[RelevantSpecialtyProperty]
fn get_relevant_specialty(&self) -> &[RelevantSpecialtyProperty]
Get https://schema.org/relevantSpecialty from Self
as borrowed slice.
sourcefn take_relevant_specialty(&mut self) -> Vec<RelevantSpecialtyProperty>
fn take_relevant_specialty(&mut self) -> Vec<RelevantSpecialtyProperty>
Take https://schema.org/relevantSpecialty from Self
as owned vector.
sourcefn get_study(&self) -> &[StudyProperty]
fn get_study(&self) -> &[StudyProperty]
Get https://schema.org/study from Self
as borrowed slice.
sourcefn take_study(&mut self) -> Vec<StudyProperty>
fn take_study(&mut self) -> Vec<StudyProperty>
Take https://schema.org/study from Self
as owned vector.