pub trait InvestmentOrDepositTrait {
    // Required methods
    fn get_amount(&self) -> &[AmountProperty];
    fn take_amount(&mut self) -> Vec<AmountProperty>;
}
Expand description

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

Required Methods§

source

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

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

source

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

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

Implementors§