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

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

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.

source

fn get_funder(&self) -> &[FunderProperty]

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

source

fn take_funder(&mut self) -> Vec<FunderProperty>

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

Implementors§