pub trait DatedMoneySpecificationTrait {
    // Required methods
    fn get_amount(&self) -> &[AmountProperty];
    fn take_amount(&mut self) -> Vec<AmountProperty>;
    fn get_currency(&self) -> &[CurrencyProperty];
    fn take_currency(&mut self) -> Vec<CurrencyProperty>;
    fn get_end_date(&self) -> &[EndDateProperty];
    fn take_end_date(&mut self) -> Vec<EndDateProperty>;
    fn get_start_date(&self) -> &[StartDateProperty];
    fn take_start_date(&mut self) -> Vec<StartDateProperty>;
}
👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.
Expand description

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

Required Methods§

source

fn get_amount(&self) -> &[AmountProperty]

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

source

fn take_amount(&mut self) -> Vec<AmountProperty>

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

source

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

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

source

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

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

source

fn get_end_date(&self) -> &[EndDateProperty]

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

source

fn take_end_date(&mut self) -> Vec<EndDateProperty>

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

source

fn get_start_date(&self) -> &[StartDateProperty]

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

source

fn take_start_date(&mut self) -> Vec<StartDateProperty>

👎Deprecated: This schema is superseded by https://schema.org/MonetaryAmount.

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

Implementors§