Trait schema_org_types::PhysicianTrait
source · pub trait PhysicianTrait {
// Required methods
fn get_available_service(&self) -> &[AvailableServiceProperty];
fn take_available_service(&mut self) -> Vec<AvailableServiceProperty>;
fn get_hospital_affiliation(&self) -> &[HospitalAffiliationProperty];
fn take_hospital_affiliation(&mut self) -> Vec<HospitalAffiliationProperty>;
fn get_medical_specialty(&self) -> &[MedicalSpecialtyProperty];
fn take_medical_specialty(&mut self) -> Vec<MedicalSpecialtyProperty>;
}
Expand description
This trait is for properties from https://schema.org/Physician.
Required Methods§
sourcefn get_available_service(&self) -> &[AvailableServiceProperty]
fn get_available_service(&self) -> &[AvailableServiceProperty]
Get https://schema.org/availableService from Self
as borrowed slice.
sourcefn take_available_service(&mut self) -> Vec<AvailableServiceProperty>
fn take_available_service(&mut self) -> Vec<AvailableServiceProperty>
Take https://schema.org/availableService from Self
as owned vector.
sourcefn get_hospital_affiliation(&self) -> &[HospitalAffiliationProperty]
fn get_hospital_affiliation(&self) -> &[HospitalAffiliationProperty]
Get https://schema.org/hospitalAffiliation from Self
as borrowed slice.
sourcefn take_hospital_affiliation(&mut self) -> Vec<HospitalAffiliationProperty>
fn take_hospital_affiliation(&mut self) -> Vec<HospitalAffiliationProperty>
Take https://schema.org/hospitalAffiliation from Self
as owned vector.
sourcefn get_medical_specialty(&self) -> &[MedicalSpecialtyProperty]
fn get_medical_specialty(&self) -> &[MedicalSpecialtyProperty]
Get https://schema.org/medicalSpecialty from Self
as borrowed slice.
sourcefn take_medical_specialty(&mut self) -> Vec<MedicalSpecialtyProperty>
fn take_medical_specialty(&mut self) -> Vec<MedicalSpecialtyProperty>
Take https://schema.org/medicalSpecialty from Self
as owned vector.