Trait schema_org_types::CategoryCodeTrait
source · pub trait CategoryCodeTrait {
// Required methods
fn get_code_value(&self) -> &[CodeValueProperty];
fn take_code_value(&mut self) -> Vec<CodeValueProperty>;
fn get_in_code_set(&self) -> &[InCodeSetProperty];
fn take_in_code_set(&mut self) -> Vec<InCodeSetProperty>;
}
Expand description
This trait is for properties from https://schema.org/CategoryCode.
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_in_code_set(&self) -> &[InCodeSetProperty]
fn get_in_code_set(&self) -> &[InCodeSetProperty]
Get https://schema.org/inCodeSet from Self
as borrowed slice.
sourcefn take_in_code_set(&mut self) -> Vec<InCodeSetProperty>
fn take_in_code_set(&mut self) -> Vec<InCodeSetProperty>
Take https://schema.org/inCodeSet from Self
as owned vector.