pub trait TradeActionTrait {
    // Required methods
    fn get_price(&self) -> &[PriceProperty];
    fn take_price(&mut self) -> Vec<PriceProperty>;
    fn get_price_currency(&self) -> &[PriceCurrencyProperty];
    fn take_price_currency(&mut self) -> Vec<PriceCurrencyProperty>;
    fn get_price_specification(&self) -> &[PriceSpecificationProperty];
    fn take_price_specification(&mut self) -> Vec<PriceSpecificationProperty>;
}
Expand description

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

Required Methods§

Implementors§