pub trait CompoundPriceSpecificationTrait {
// Required methods
fn get_price_component(&self) -> &[PriceComponentProperty];
fn take_price_component(&mut self) -> Vec<PriceComponentProperty>;
fn get_price_type(&self) -> &[PriceTypeProperty];
fn take_price_type(&mut self) -> Vec<PriceTypeProperty>;
}
Expand description
This trait is for properties from https://schema.org/CompoundPriceSpecification.
Required Methods§
sourcefn get_price_component(&self) -> &[PriceComponentProperty]
fn get_price_component(&self) -> &[PriceComponentProperty]
Get https://schema.org/priceComponent from Self
as borrowed slice.
sourcefn take_price_component(&mut self) -> Vec<PriceComponentProperty>
fn take_price_component(&mut self) -> Vec<PriceComponentProperty>
Take https://schema.org/priceComponent from Self
as owned vector.
sourcefn get_price_type(&self) -> &[PriceTypeProperty]
fn get_price_type(&self) -> &[PriceTypeProperty]
Get https://schema.org/priceType from Self
as borrowed slice.
sourcefn take_price_type(&mut self) -> Vec<PriceTypeProperty>
fn take_price_type(&mut self) -> Vec<PriceTypeProperty>
Take https://schema.org/priceType from Self
as owned vector.