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§
sourcefn get_high_price(&self) -> &[HighPriceProperty]
fn get_high_price(&self) -> &[HighPriceProperty]
Get https://schema.org/highPrice from Self
as borrowed slice.
sourcefn take_high_price(&mut self) -> Vec<HighPriceProperty>
fn take_high_price(&mut self) -> Vec<HighPriceProperty>
Take https://schema.org/highPrice from Self
as owned vector.
sourcefn get_low_price(&self) -> &[LowPriceProperty]
fn get_low_price(&self) -> &[LowPriceProperty]
Get https://schema.org/lowPrice from Self
as borrowed slice.
sourcefn take_low_price(&mut self) -> Vec<LowPriceProperty>
fn take_low_price(&mut self) -> Vec<LowPriceProperty>
Take https://schema.org/lowPrice from Self
as owned vector.
sourcefn get_offer_count(&self) -> &[OfferCountProperty]
fn get_offer_count(&self) -> &[OfferCountProperty]
Get https://schema.org/offerCount from Self
as borrowed slice.
sourcefn take_offer_count(&mut self) -> Vec<OfferCountProperty>
fn take_offer_count(&mut self) -> Vec<OfferCountProperty>
Take https://schema.org/offerCount from Self
as owned vector.
sourcefn get_offers(&self) -> &[OffersProperty]
fn get_offers(&self) -> &[OffersProperty]
Get https://schema.org/offers from Self
as borrowed slice.
sourcefn take_offers(&mut self) -> Vec<OffersProperty>
fn take_offers(&mut self) -> Vec<OffersProperty>
Take https://schema.org/offers from Self
as owned vector.