pub trait TypeAndQuantityNodeTrait {
    // Required methods
    fn get_amount_of_this_good(&self) -> &[AmountOfThisGoodProperty];
    fn take_amount_of_this_good(&mut self) -> Vec<AmountOfThisGoodProperty>;
    fn get_business_function(&self) -> &[BusinessFunctionProperty];
    fn take_business_function(&mut self) -> Vec<BusinessFunctionProperty>;
    fn get_type_of_good(&self) -> &[TypeOfGoodProperty];
    fn take_type_of_good(&mut self) -> Vec<TypeOfGoodProperty>;
    fn get_unit_code(&self) -> &[UnitCodeProperty];
    fn take_unit_code(&mut self) -> Vec<UnitCodeProperty>;
    fn get_unit_text(&self) -> &[UnitTextProperty];
    fn take_unit_text(&mut self) -> Vec<UnitTextProperty>;
}
Expand description

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

Required Methods§

Implementors§