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