Trait schema_org_types::PatientTrait
source · pub trait PatientTrait {
// Required methods
fn get_diagnosis(&self) -> &[DiagnosisProperty];
fn take_diagnosis(&mut self) -> Vec<DiagnosisProperty>;
fn get_drug(&self) -> &[DrugProperty];
fn take_drug(&mut self) -> Vec<DrugProperty>;
fn get_health_condition(&self) -> &[HealthConditionProperty];
fn take_health_condition(&mut self) -> Vec<HealthConditionProperty>;
}
Expand description
This trait is for properties from https://schema.org/Patient.
Required Methods§
sourcefn get_diagnosis(&self) -> &[DiagnosisProperty]
fn get_diagnosis(&self) -> &[DiagnosisProperty]
Get https://schema.org/diagnosis from Self
as borrowed slice.
sourcefn take_diagnosis(&mut self) -> Vec<DiagnosisProperty>
fn take_diagnosis(&mut self) -> Vec<DiagnosisProperty>
Take https://schema.org/diagnosis from Self
as owned vector.
sourcefn get_drug(&self) -> &[DrugProperty]
fn get_drug(&self) -> &[DrugProperty]
Get https://schema.org/drug from Self
as borrowed slice.
sourcefn take_drug(&mut self) -> Vec<DrugProperty>
fn take_drug(&mut self) -> Vec<DrugProperty>
Take https://schema.org/drug from Self
as owned vector.
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.