Trait schema_org_types::MedicalTestTrait
source · pub trait MedicalTestTrait {
// Required methods
fn get_affected_by(&self) -> &[AffectedByProperty];
fn take_affected_by(&mut self) -> Vec<AffectedByProperty>;
fn get_normal_range(&self) -> &[NormalRangeProperty];
fn take_normal_range(&mut self) -> Vec<NormalRangeProperty>;
fn get_sign_detected(&self) -> &[SignDetectedProperty];
fn take_sign_detected(&mut self) -> Vec<SignDetectedProperty>;
fn get_used_to_diagnose(&self) -> &[UsedToDiagnoseProperty];
fn take_used_to_diagnose(&mut self) -> Vec<UsedToDiagnoseProperty>;
fn get_uses_device(&self) -> &[UsesDeviceProperty];
fn take_uses_device(&mut self) -> Vec<UsesDeviceProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalTest.
Required Methods§
sourcefn get_affected_by(&self) -> &[AffectedByProperty]
fn get_affected_by(&self) -> &[AffectedByProperty]
Get https://schema.org/affectedBy from Self
as borrowed slice.
sourcefn take_affected_by(&mut self) -> Vec<AffectedByProperty>
fn take_affected_by(&mut self) -> Vec<AffectedByProperty>
Take https://schema.org/affectedBy from Self
as owned vector.
sourcefn get_normal_range(&self) -> &[NormalRangeProperty]
fn get_normal_range(&self) -> &[NormalRangeProperty]
Get https://schema.org/normalRange from Self
as borrowed slice.
sourcefn take_normal_range(&mut self) -> Vec<NormalRangeProperty>
fn take_normal_range(&mut self) -> Vec<NormalRangeProperty>
Take https://schema.org/normalRange from Self
as owned vector.
sourcefn get_sign_detected(&self) -> &[SignDetectedProperty]
fn get_sign_detected(&self) -> &[SignDetectedProperty]
Get https://schema.org/signDetected from Self
as borrowed slice.
sourcefn take_sign_detected(&mut self) -> Vec<SignDetectedProperty>
fn take_sign_detected(&mut self) -> Vec<SignDetectedProperty>
Take https://schema.org/signDetected from Self
as owned vector.
sourcefn get_used_to_diagnose(&self) -> &[UsedToDiagnoseProperty]
fn get_used_to_diagnose(&self) -> &[UsedToDiagnoseProperty]
Get https://schema.org/usedToDiagnose from Self
as borrowed slice.
sourcefn take_used_to_diagnose(&mut self) -> Vec<UsedToDiagnoseProperty>
fn take_used_to_diagnose(&mut self) -> Vec<UsedToDiagnoseProperty>
Take https://schema.org/usedToDiagnose from Self
as owned vector.
sourcefn get_uses_device(&self) -> &[UsesDeviceProperty]
fn get_uses_device(&self) -> &[UsesDeviceProperty]
Get https://schema.org/usesDevice from Self
as borrowed slice.
sourcefn take_uses_device(&mut self) -> Vec<UsesDeviceProperty>
fn take_uses_device(&mut self) -> Vec<UsesDeviceProperty>
Take https://schema.org/usesDevice from Self
as owned vector.