Trait schema_org_types::EmployeeRoleTrait
source · pub trait EmployeeRoleTrait {
// Required methods
fn get_base_salary(&self) -> &[BaseSalaryProperty];
fn take_base_salary(&mut self) -> Vec<BaseSalaryProperty>;
fn get_salary_currency(&self) -> &[SalaryCurrencyProperty];
fn take_salary_currency(&mut self) -> Vec<SalaryCurrencyProperty>;
}
Expand description
This trait is for properties from https://schema.org/EmployeeRole.
Required Methods§
sourcefn get_base_salary(&self) -> &[BaseSalaryProperty]
fn get_base_salary(&self) -> &[BaseSalaryProperty]
Get https://schema.org/baseSalary from Self
as borrowed slice.
sourcefn take_base_salary(&mut self) -> Vec<BaseSalaryProperty>
fn take_base_salary(&mut self) -> Vec<BaseSalaryProperty>
Take https://schema.org/baseSalary from Self
as owned vector.
sourcefn get_salary_currency(&self) -> &[SalaryCurrencyProperty]
fn get_salary_currency(&self) -> &[SalaryCurrencyProperty]
Get https://schema.org/salaryCurrency from Self
as borrowed slice.
sourcefn take_salary_currency(&mut self) -> Vec<SalaryCurrencyProperty>
fn take_salary_currency(&mut self) -> Vec<SalaryCurrencyProperty>
Take https://schema.org/salaryCurrency from Self
as owned vector.