pub trait LearningResourceTrait {
Show 14 methods
// Required methods
fn get_assesses(&self) -> &[AssessesProperty];
fn take_assesses(&mut self) -> Vec<AssessesProperty>;
fn get_competency_required(&self) -> &[CompetencyRequiredProperty];
fn take_competency_required(&mut self) -> Vec<CompetencyRequiredProperty>;
fn get_educational_alignment(&self) -> &[EducationalAlignmentProperty];
fn take_educational_alignment(
&mut self
) -> Vec<EducationalAlignmentProperty>;
fn get_educational_level(&self) -> &[EducationalLevelProperty];
fn take_educational_level(&mut self) -> Vec<EducationalLevelProperty>;
fn get_educational_use(&self) -> &[EducationalUseProperty];
fn take_educational_use(&mut self) -> Vec<EducationalUseProperty>;
fn get_learning_resource_type(&self) -> &[LearningResourceTypeProperty];
fn take_learning_resource_type(
&mut self
) -> Vec<LearningResourceTypeProperty>;
fn get_teaches(&self) -> &[TeachesProperty];
fn take_teaches(&mut self) -> Vec<TeachesProperty>;
}
Expand description
This trait is for properties from https://schema.org/LearningResource.
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_competency_required(&self) -> &[CompetencyRequiredProperty]
fn get_competency_required(&self) -> &[CompetencyRequiredProperty]
Get https://schema.org/competencyRequired from Self
as borrowed slice.
sourcefn take_competency_required(&mut self) -> Vec<CompetencyRequiredProperty>
fn take_competency_required(&mut self) -> Vec<CompetencyRequiredProperty>
Take https://schema.org/competencyRequired from Self
as owned vector.
sourcefn get_educational_alignment(&self) -> &[EducationalAlignmentProperty]
fn get_educational_alignment(&self) -> &[EducationalAlignmentProperty]
Get https://schema.org/educationalAlignment from Self
as borrowed slice.
sourcefn take_educational_alignment(&mut self) -> Vec<EducationalAlignmentProperty>
fn take_educational_alignment(&mut self) -> Vec<EducationalAlignmentProperty>
Take https://schema.org/educationalAlignment 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_educational_use(&self) -> &[EducationalUseProperty]
fn get_educational_use(&self) -> &[EducationalUseProperty]
Get https://schema.org/educationalUse from Self
as borrowed slice.
sourcefn take_educational_use(&mut self) -> Vec<EducationalUseProperty>
fn take_educational_use(&mut self) -> Vec<EducationalUseProperty>
Take https://schema.org/educationalUse from Self
as owned vector.
sourcefn get_learning_resource_type(&self) -> &[LearningResourceTypeProperty]
fn get_learning_resource_type(&self) -> &[LearningResourceTypeProperty]
Get https://schema.org/learningResourceType from Self
as borrowed slice.
sourcefn take_learning_resource_type(&mut self) -> Vec<LearningResourceTypeProperty>
fn take_learning_resource_type(&mut self) -> Vec<LearningResourceTypeProperty>
Take https://schema.org/learningResourceType 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.