pub trait MonetaryAmountDistributionTrait {
    // Required methods
    fn get_currency(&self) -> &[CurrencyProperty];
    fn take_currency(&mut self) -> Vec<CurrencyProperty>;
}
Expand description

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

Required Methods§

source

fn get_currency(&self) -> &[CurrencyProperty]

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

source

fn take_currency(&mut self) -> Vec<CurrencyProperty>

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

Implementors§