pub trait EducationalAudienceTrait {
// Required methods
fn get_educational_role(&self) -> &[EducationalRoleProperty];
fn take_educational_role(&mut self) -> Vec<EducationalRoleProperty>;
}
Expand description
This trait is for properties from https://schema.org/EducationalAudience.
Required Methods§
sourcefn get_educational_role(&self) -> &[EducationalRoleProperty]
fn get_educational_role(&self) -> &[EducationalRoleProperty]
Get https://schema.org/educationalRole from Self
as borrowed slice.
sourcefn take_educational_role(&mut self) -> Vec<EducationalRoleProperty>
fn take_educational_role(&mut self) -> Vec<EducationalRoleProperty>
Take https://schema.org/educationalRole from Self
as owned vector.