Trait schema_org_types::MedicalCodeTrait
source · pub trait MedicalCodeTrait {
// Required methods
fn get_code_value(&self) -> &[CodeValueProperty];
fn take_code_value(&mut self) -> Vec<CodeValueProperty>;
fn get_coding_system(&self) -> &[CodingSystemProperty];
fn take_coding_system(&mut self) -> Vec<CodingSystemProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalCode.
Required Methods§
sourcefn get_code_value(&self) -> &[CodeValueProperty]
fn get_code_value(&self) -> &[CodeValueProperty]
Get https://schema.org/codeValue from Self
as borrowed slice.
sourcefn take_code_value(&mut self) -> Vec<CodeValueProperty>
fn take_code_value(&mut self) -> Vec<CodeValueProperty>
Take https://schema.org/codeValue from Self
as owned vector.
sourcefn get_coding_system(&self) -> &[CodingSystemProperty]
fn get_coding_system(&self) -> &[CodingSystemProperty]
Get https://schema.org/codingSystem from Self
as borrowed slice.
sourcefn take_coding_system(&mut self) -> Vec<CodingSystemProperty>
fn take_coding_system(&mut self) -> Vec<CodingSystemProperty>
Take https://schema.org/codingSystem from Self
as owned vector.