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§

source

fn get_code_value(&self) -> &[CodeValueProperty]

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

source

fn take_code_value(&mut self) -> Vec<CodeValueProperty>

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

source

fn get_in_code_set(&self) -> &[InCodeSetProperty]

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

source

fn take_in_code_set(&mut self) -> Vec<InCodeSetProperty>

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

Implementors§