Trait schema_org_types::MonetaryGrantTrait
source · 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§
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.
sourcefn get_funder(&self) -> &[FunderProperty]
fn get_funder(&self) -> &[FunderProperty]
Get https://schema.org/funder from Self
as borrowed slice.
sourcefn take_funder(&mut self) -> Vec<FunderProperty>
fn take_funder(&mut self) -> Vec<FunderProperty>
Take https://schema.org/funder from Self
as owned vector.