Trait schema_org_types::DDxElementTrait
source · pub trait DDxElementTrait {
// Required methods
fn get_diagnosis(&self) -> &[DiagnosisProperty];
fn take_diagnosis(&mut self) -> Vec<DiagnosisProperty>;
fn get_distinguishing_sign(&self) -> &[DistinguishingSignProperty];
fn take_distinguishing_sign(&mut self) -> Vec<DistinguishingSignProperty>;
}
Expand description
This trait is for properties from https://schema.org/DDxElement.
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_distinguishing_sign(&self) -> &[DistinguishingSignProperty]
fn get_distinguishing_sign(&self) -> &[DistinguishingSignProperty]
Get https://schema.org/distinguishingSign from Self
as borrowed slice.
sourcefn take_distinguishing_sign(&mut self) -> Vec<DistinguishingSignProperty>
fn take_distinguishing_sign(&mut self) -> Vec<DistinguishingSignProperty>
Take https://schema.org/distinguishingSign from Self
as owned vector.