pub trait WorkBasedProgramTrait {
// Required methods
fn get_occupational_category(&self) -> &[OccupationalCategoryProperty];
fn take_occupational_category(
&mut self
) -> Vec<OccupationalCategoryProperty>;
fn get_training_salary(&self) -> &[TrainingSalaryProperty];
fn take_training_salary(&mut self) -> Vec<TrainingSalaryProperty>;
}
Expand description
This trait is for properties from https://schema.org/WorkBasedProgram.
Required Methods§
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_training_salary(&self) -> &[TrainingSalaryProperty]
fn get_training_salary(&self) -> &[TrainingSalaryProperty]
Get https://schema.org/trainingSalary from Self
as borrowed slice.
sourcefn take_training_salary(&mut self) -> Vec<TrainingSalaryProperty>
fn take_training_salary(&mut self) -> Vec<TrainingSalaryProperty>
Take https://schema.org/trainingSalary from Self
as owned vector.