Trait schema_org_types::OccupationTrait
source · pub trait OccupationTrait {
Show 16 methods
// Required methods
fn get_education_requirements(&self) -> &[EducationRequirementsProperty];
fn take_education_requirements(
&mut self
) -> Vec<EducationRequirementsProperty>;
fn get_estimated_salary(&self) -> &[EstimatedSalaryProperty];
fn take_estimated_salary(&mut self) -> Vec<EstimatedSalaryProperty>;
fn get_experience_requirements(&self) -> &[ExperienceRequirementsProperty];
fn take_experience_requirements(
&mut self
) -> Vec<ExperienceRequirementsProperty>;
fn get_occupation_location(&self) -> &[OccupationLocationProperty];
fn take_occupation_location(&mut self) -> Vec<OccupationLocationProperty>;
fn get_occupational_category(&self) -> &[OccupationalCategoryProperty];
fn take_occupational_category(
&mut self
) -> Vec<OccupationalCategoryProperty>;
fn get_qualifications(&self) -> &[QualificationsProperty];
fn take_qualifications(&mut self) -> Vec<QualificationsProperty>;
fn get_responsibilities(&self) -> &[ResponsibilitiesProperty];
fn take_responsibilities(&mut self) -> Vec<ResponsibilitiesProperty>;
fn get_skills(&self) -> &[SkillsProperty];
fn take_skills(&mut self) -> Vec<SkillsProperty>;
}
Expand description
This trait is for properties from https://schema.org/Occupation.
Required Methods§
sourcefn get_education_requirements(&self) -> &[EducationRequirementsProperty]
fn get_education_requirements(&self) -> &[EducationRequirementsProperty]
Get https://schema.org/educationRequirements from Self
as borrowed slice.
sourcefn take_education_requirements(&mut self) -> Vec<EducationRequirementsProperty>
fn take_education_requirements(&mut self) -> Vec<EducationRequirementsProperty>
Take https://schema.org/educationRequirements from Self
as owned vector.
sourcefn get_estimated_salary(&self) -> &[EstimatedSalaryProperty]
fn get_estimated_salary(&self) -> &[EstimatedSalaryProperty]
Get https://schema.org/estimatedSalary from Self
as borrowed slice.
sourcefn take_estimated_salary(&mut self) -> Vec<EstimatedSalaryProperty>
fn take_estimated_salary(&mut self) -> Vec<EstimatedSalaryProperty>
Take https://schema.org/estimatedSalary from Self
as owned vector.
sourcefn get_experience_requirements(&self) -> &[ExperienceRequirementsProperty]
fn get_experience_requirements(&self) -> &[ExperienceRequirementsProperty]
Get https://schema.org/experienceRequirements from Self
as borrowed slice.
sourcefn take_experience_requirements(
&mut self
) -> Vec<ExperienceRequirementsProperty>
fn take_experience_requirements( &mut self ) -> Vec<ExperienceRequirementsProperty>
Take https://schema.org/experienceRequirements from Self
as owned vector.
sourcefn get_occupation_location(&self) -> &[OccupationLocationProperty]
fn get_occupation_location(&self) -> &[OccupationLocationProperty]
Get https://schema.org/occupationLocation from Self
as borrowed slice.
sourcefn take_occupation_location(&mut self) -> Vec<OccupationLocationProperty>
fn take_occupation_location(&mut self) -> Vec<OccupationLocationProperty>
Take https://schema.org/occupationLocation from Self
as owned vector.
sourcefn get_occupational_category(&self) -> &[OccupationalCategoryProperty]
fn get_occupational_category(&self) -> &[OccupationalCategoryProperty]
Get https://schema.org/occupationalCategory from Self
as borrowed slice.
sourcefn take_occupational_category(&mut self) -> Vec<OccupationalCategoryProperty>
fn take_occupational_category(&mut self) -> Vec<OccupationalCategoryProperty>
Take https://schema.org/occupationalCategory from Self
as owned vector.
sourcefn get_qualifications(&self) -> &[QualificationsProperty]
fn get_qualifications(&self) -> &[QualificationsProperty]
Get https://schema.org/qualifications from Self
as borrowed slice.
sourcefn take_qualifications(&mut self) -> Vec<QualificationsProperty>
fn take_qualifications(&mut self) -> Vec<QualificationsProperty>
Take https://schema.org/qualifications from Self
as owned vector.
sourcefn get_responsibilities(&self) -> &[ResponsibilitiesProperty]
fn get_responsibilities(&self) -> &[ResponsibilitiesProperty]
Get https://schema.org/responsibilities from Self
as borrowed slice.
sourcefn take_responsibilities(&mut self) -> Vec<ResponsibilitiesProperty>
fn take_responsibilities(&mut self) -> Vec<ResponsibilitiesProperty>
Take https://schema.org/responsibilities from Self
as owned vector.
sourcefn get_skills(&self) -> &[SkillsProperty]
fn get_skills(&self) -> &[SkillsProperty]
Get https://schema.org/skills from Self
as borrowed slice.
sourcefn take_skills(&mut self) -> Vec<SkillsProperty>
fn take_skills(&mut self) -> Vec<SkillsProperty>
Take https://schema.org/skills from Self
as owned vector.