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§

source

fn get_cause_of(&self) -> &[CauseOfProperty]

Get https://schema.org/causeOf from Self as borrowed slice.

source

fn take_cause_of(&mut self) -> Vec<CauseOfProperty>

Take https://schema.org/causeOf from Self as owned vector.

Implementors§