Struct schema_org_types::Occupation
source · pub struct Occupation {Show 20 fields
pub education_requirements: Vec<EducationRequirementsProperty>,
pub estimated_salary: Vec<EstimatedSalaryProperty>,
pub experience_requirements: Vec<ExperienceRequirementsProperty>,
pub occupation_location: Vec<OccupationLocationProperty>,
pub occupational_category: Vec<OccupationalCategoryProperty>,
pub qualifications: Vec<QualificationsProperty>,
pub responsibilities: Vec<ResponsibilitiesProperty>,
pub skills: Vec<SkillsProperty>,
pub additional_type: Vec<AdditionalTypeProperty>,
pub alternate_name: Vec<AlternateNameProperty>,
pub description: Vec<DescriptionProperty>,
pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>,
pub identifier: Vec<IdentifierProperty>,
pub image: Vec<ImageProperty>,
pub main_entity_of_page: Vec<MainEntityOfPageProperty>,
pub name: Vec<NameProperty>,
pub potential_action: Vec<PotentialActionProperty>,
pub same_as: Vec<SameAsProperty>,
pub subject_of: Vec<SubjectOfProperty>,
pub url: Vec<UrlProperty>,
}
Expand description
Fields§
§education_requirements: Vec<EducationRequirementsProperty>
§estimated_salary: Vec<EstimatedSalaryProperty>
§experience_requirements: Vec<ExperienceRequirementsProperty>
§occupation_location: Vec<OccupationLocationProperty>
§occupational_category: Vec<OccupationalCategoryProperty>
§qualifications: Vec<QualificationsProperty>
§responsibilities: Vec<ResponsibilitiesProperty>
§skills: Vec<SkillsProperty>
§additional_type: Vec<AdditionalTypeProperty>
§alternate_name: Vec<AlternateNameProperty>
§description: Vec<DescriptionProperty>
§disambiguating_description: Vec<DisambiguatingDescriptionProperty>
§identifier: Vec<IdentifierProperty>
§image: Vec<ImageProperty>
§main_entity_of_page: Vec<MainEntityOfPageProperty>
§name: Vec<NameProperty>
§potential_action: Vec<PotentialActionProperty>
§same_as: Vec<SameAsProperty>
§subject_of: Vec<SubjectOfProperty>
§url: Vec<UrlProperty>
Trait Implementations§
source§impl OccupationTrait for Occupation
impl OccupationTrait for Occupation
source§fn get_education_requirements(&self) -> &[EducationRequirementsProperty]
fn get_education_requirements(&self) -> &[EducationRequirementsProperty]
Get https://schema.org/educationRequirements from
Self
as borrowed slice.source§fn 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.source§fn get_estimated_salary(&self) -> &[EstimatedSalaryProperty]
fn get_estimated_salary(&self) -> &[EstimatedSalaryProperty]
Get https://schema.org/estimatedSalary from
Self
as borrowed slice.source§fn 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.source§fn get_experience_requirements(&self) -> &[ExperienceRequirementsProperty]
fn get_experience_requirements(&self) -> &[ExperienceRequirementsProperty]
Get https://schema.org/experienceRequirements from
Self
as borrowed slice.source§fn 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.source§fn get_occupation_location(&self) -> &[OccupationLocationProperty]
fn get_occupation_location(&self) -> &[OccupationLocationProperty]
Get https://schema.org/occupationLocation from
Self
as borrowed slice.source§fn 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.source§fn get_occupational_category(&self) -> &[OccupationalCategoryProperty]
fn get_occupational_category(&self) -> &[OccupationalCategoryProperty]
Get https://schema.org/occupationalCategory from
Self
as borrowed slice.source§fn 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.source§fn get_qualifications(&self) -> &[QualificationsProperty]
fn get_qualifications(&self) -> &[QualificationsProperty]
Get https://schema.org/qualifications from
Self
as borrowed slice.source§fn take_qualifications(&mut self) -> Vec<QualificationsProperty>
fn take_qualifications(&mut self) -> Vec<QualificationsProperty>
Take https://schema.org/qualifications from
Self
as owned vector.source§fn get_responsibilities(&self) -> &[ResponsibilitiesProperty]
fn get_responsibilities(&self) -> &[ResponsibilitiesProperty]
Get https://schema.org/responsibilities from
Self
as borrowed slice.source§fn take_responsibilities(&mut self) -> Vec<ResponsibilitiesProperty>
fn take_responsibilities(&mut self) -> Vec<ResponsibilitiesProperty>
Take https://schema.org/responsibilities from
Self
as owned vector.source§fn get_skills(&self) -> &[SkillsProperty]
fn get_skills(&self) -> &[SkillsProperty]
Get https://schema.org/skills from
Self
as borrowed slice.source§fn take_skills(&mut self) -> Vec<SkillsProperty>
fn take_skills(&mut self) -> Vec<SkillsProperty>
Take https://schema.org/skills from
Self
as owned vector.source§impl ThingTrait for Occupation
impl ThingTrait for Occupation
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
fn get_additional_type(&self) -> &[AdditionalTypeProperty]
Get https://schema.org/additionalType from
Self
as borrowed slice.source§fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
Take https://schema.org/additionalType from
Self
as owned vector.source§fn get_alternate_name(&self) -> &[AlternateNameProperty]
fn get_alternate_name(&self) -> &[AlternateNameProperty]
Get https://schema.org/alternateName from
Self
as borrowed slice.source§fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
fn take_image(&mut self) -> Vec<ImageProperty>
Take https://schema.org/image from
Self
as owned vector.source§fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
Get https://schema.org/mainEntityOfPage from
Self
as borrowed slice.source§fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
Take https://schema.org/mainEntityOfPage from
Self
as owned vector.source§fn get_name(&self) -> &[NameProperty]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
fn get_potential_action(&self) -> &[PotentialActionProperty]
Get https://schema.org/potentialAction from
Self
as borrowed slice.source§fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
Take https://schema.org/potentialAction from
Self
as owned vector.source§fn get_same_as(&self) -> &[SameAsProperty]
fn get_same_as(&self) -> &[SameAsProperty]
Get https://schema.org/sameAs from
Self
as borrowed slice.source§fn take_same_as(&mut self) -> Vec<SameAsProperty>
fn take_same_as(&mut self) -> Vec<SameAsProperty>
Take https://schema.org/sameAs from
Self
as owned vector.source§fn get_subject_of(&self) -> &[SubjectOfProperty]
fn get_subject_of(&self) -> &[SubjectOfProperty]
Get https://schema.org/subjectOf from
Self
as borrowed slice.source§fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.Auto Trait Implementations§
impl RefUnwindSafe for Occupation
impl Send for Occupation
impl Sync for Occupation
impl Unpin for Occupation
impl UnwindSafe for Occupation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more