pub trait InfectiousDiseaseTrait {
    // Required methods
    fn get_infectious_agent(&self) -> &[InfectiousAgentProperty];
    fn take_infectious_agent(&mut self) -> Vec<InfectiousAgentProperty>;
    fn get_infectious_agent_class(&self) -> &[InfectiousAgentClassProperty];
    fn take_infectious_agent_class(
        &mut self
    ) -> Vec<InfectiousAgentClassProperty>;
    fn get_transmission_method(&self) -> &[TransmissionMethodProperty];
    fn take_transmission_method(&mut self) -> Vec<TransmissionMethodProperty>;
}
Expand description

This trait is for properties from https://schema.org/InfectiousDisease.

Required Methods§

Implementors§