pub trait AggregateOfferTrait {
    // Required methods
    fn get_high_price(&self) -> &[HighPriceProperty];
    fn take_high_price(&mut self) -> Vec<HighPriceProperty>;
    fn get_low_price(&self) -> &[LowPriceProperty];
    fn take_low_price(&mut self) -> Vec<LowPriceProperty>;
    fn get_offer_count(&self) -> &[OfferCountProperty];
    fn take_offer_count(&mut self) -> Vec<OfferCountProperty>;
    fn get_offers(&self) -> &[OffersProperty];
    fn take_offers(&mut self) -> Vec<OffersProperty>;
}
Expand description

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

Required Methods§

source

fn get_high_price(&self) -> &[HighPriceProperty]

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

source

fn take_high_price(&mut self) -> Vec<HighPriceProperty>

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

source

fn get_low_price(&self) -> &[LowPriceProperty]

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

source

fn take_low_price(&mut self) -> Vec<LowPriceProperty>

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

source

fn get_offer_count(&self) -> &[OfferCountProperty]

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

source

fn take_offer_count(&mut self) -> Vec<OfferCountProperty>

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

source

fn get_offers(&self) -> &[OffersProperty]

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

source

fn take_offers(&mut self) -> Vec<OffersProperty>

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

Implementors§