Trait schema_org_types::GrantTrait
source · pub trait GrantTrait {
// Required methods
fn get_funded_item(&self) -> &[FundedItemProperty];
fn take_funded_item(&mut self) -> Vec<FundedItemProperty>;
fn get_funder(&self) -> &[FunderProperty];
fn take_funder(&mut self) -> Vec<FunderProperty>;
fn get_sponsor(&self) -> &[SponsorProperty];
fn take_sponsor(&mut self) -> Vec<SponsorProperty>;
}
Expand description
This trait is for properties from https://schema.org/Grant.
Required Methods§
sourcefn get_funded_item(&self) -> &[FundedItemProperty]
fn get_funded_item(&self) -> &[FundedItemProperty]
Get https://schema.org/fundedItem from Self
as borrowed slice.
sourcefn take_funded_item(&mut self) -> Vec<FundedItemProperty>
fn take_funded_item(&mut self) -> Vec<FundedItemProperty>
Take https://schema.org/fundedItem 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.
sourcefn get_sponsor(&self) -> &[SponsorProperty]
fn get_sponsor(&self) -> &[SponsorProperty]
Get https://schema.org/sponsor from Self
as borrowed slice.
sourcefn take_sponsor(&mut self) -> Vec<SponsorProperty>
fn take_sponsor(&mut self) -> Vec<SponsorProperty>
Take https://schema.org/sponsor from Self
as owned vector.