Trait schema_org_types::MedicalCauseTrait
source · pub trait MedicalCauseTrait {
// Required methods
fn get_cause_of(&self) -> &[CauseOfProperty];
fn take_cause_of(&mut self) -> Vec<CauseOfProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalCause.
Required Methods§
sourcefn get_cause_of(&self) -> &[CauseOfProperty]
fn get_cause_of(&self) -> &[CauseOfProperty]
Get https://schema.org/causeOf from Self
as borrowed slice.
sourcefn take_cause_of(&mut self) -> Vec<CauseOfProperty>
fn take_cause_of(&mut self) -> Vec<CauseOfProperty>
Take https://schema.org/causeOf from Self
as owned vector.