pub trait EducationEventTrait {
// Required methods
fn get_assesses(&self) -> &[AssessesProperty];
fn take_assesses(&mut self) -> Vec<AssessesProperty>;
fn get_educational_level(&self) -> &[EducationalLevelProperty];
fn take_educational_level(&mut self) -> Vec<EducationalLevelProperty>;
fn get_teaches(&self) -> &[TeachesProperty];
fn take_teaches(&mut self) -> Vec<TeachesProperty>;
}
Expand description
This trait is for properties from https://schema.org/EducationEvent.
Required Methods§
sourcefn get_assesses(&self) -> &[AssessesProperty]
fn get_assesses(&self) -> &[AssessesProperty]
Get https://schema.org/assesses from Self
as borrowed slice.
sourcefn take_assesses(&mut self) -> Vec<AssessesProperty>
fn take_assesses(&mut self) -> Vec<AssessesProperty>
Take https://schema.org/assesses from Self
as owned vector.
sourcefn get_educational_level(&self) -> &[EducationalLevelProperty]
fn get_educational_level(&self) -> &[EducationalLevelProperty]
Get https://schema.org/educationalLevel from Self
as borrowed slice.
sourcefn take_educational_level(&mut self) -> Vec<EducationalLevelProperty>
fn take_educational_level(&mut self) -> Vec<EducationalLevelProperty>
Take https://schema.org/educationalLevel from Self
as owned vector.
sourcefn get_teaches(&self) -> &[TeachesProperty]
fn get_teaches(&self) -> &[TeachesProperty]
Get https://schema.org/teaches from Self
as borrowed slice.
sourcefn take_teaches(&mut self) -> Vec<TeachesProperty>
fn take_teaches(&mut self) -> Vec<TeachesProperty>
Take https://schema.org/teaches from Self
as owned vector.