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§
sourcefn get_currency(&self) -> &[CurrencyProperty]
fn get_currency(&self) -> &[CurrencyProperty]
Get https://schema.org/currency from Self
as borrowed slice.
sourcefn take_currency(&mut self) -> Vec<CurrencyProperty>
fn take_currency(&mut self) -> Vec<CurrencyProperty>
Take https://schema.org/currency from Self
as owned vector.