pub trait ExchangeRateSpecificationTrait {
// Required methods
fn get_currency(&self) -> &[CurrencyProperty];
fn take_currency(&mut self) -> Vec<CurrencyProperty>;
fn get_current_exchange_rate(&self) -> &[CurrentExchangeRateProperty];
fn take_current_exchange_rate(&mut self) -> Vec<CurrentExchangeRateProperty>;
fn get_exchange_rate_spread(&self) -> &[ExchangeRateSpreadProperty];
fn take_exchange_rate_spread(&mut self) -> Vec<ExchangeRateSpreadProperty>;
}
Expand description
This trait is for properties from https://schema.org/ExchangeRateSpecification.
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.
sourcefn get_current_exchange_rate(&self) -> &[CurrentExchangeRateProperty]
fn get_current_exchange_rate(&self) -> &[CurrentExchangeRateProperty]
Get https://schema.org/currentExchangeRate from Self
as borrowed slice.
sourcefn take_current_exchange_rate(&mut self) -> Vec<CurrentExchangeRateProperty>
fn take_current_exchange_rate(&mut self) -> Vec<CurrentExchangeRateProperty>
Take https://schema.org/currentExchangeRate from Self
as owned vector.
sourcefn get_exchange_rate_spread(&self) -> &[ExchangeRateSpreadProperty]
fn get_exchange_rate_spread(&self) -> &[ExchangeRateSpreadProperty]
Get https://schema.org/exchangeRateSpread from Self
as borrowed slice.
sourcefn take_exchange_rate_spread(&mut self) -> Vec<ExchangeRateSpreadProperty>
fn take_exchange_rate_spread(&mut self) -> Vec<ExchangeRateSpreadProperty>
Take https://schema.org/exchangeRateSpread from Self
as owned vector.