Struct google_jobs3::CompensationEntry [−][src]
pub struct CompensationEntry { pub amount: Option<Money>, pub description: Option<String>, pub range: Option<CompensationRange>, pub type_: Option<String>, pub expected_units_per_year: Option<f64>, pub unit: Option<String>, }
A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type.
Annualization: One compensation entry can be annualized if
- it contains valid amount or range.
- and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.
This type is not used in any activity, and only used as part of another schema.
Fields
amount: Option<Money>
Optional.
Compensation amount.
description: Option<String>
Optional.
Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.
range: Option<CompensationRange>
Optional.
Compensation range.
type_: Option<String>
Optional.
Compensation type.
Default is CompensationUnit.OTHER_COMPENSATION_TYPE.
expected_units_per_year: Option<f64>
Optional.
Expected number of units paid each year. If not specified, when Job.employment_types is FULLTIME, a default value is inferred based on unit. Default values:
- HOURLY: 2080
- DAILY: 260
- WEEKLY: 52
- MONTHLY: 12
- ANNUAL: 1
unit: Option<String>
Optional.
Frequency of the specified amount.
Default is CompensationUnit.OTHER_COMPENSATION_UNIT.
Trait Implementations
impl Default for CompensationEntry
[src]
impl Default for CompensationEntry
fn default() -> CompensationEntry
[src]
fn default() -> CompensationEntry
Returns the "default value" for a type. Read more
impl Clone for CompensationEntry
[src]
impl Clone for CompensationEntry
fn clone(&self) -> CompensationEntry
[src]
fn clone(&self) -> CompensationEntry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CompensationEntry
[src]
impl Debug for CompensationEntry
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for CompensationEntry
[src]
impl Part for CompensationEntry
Auto Trait Implementations
impl Send for CompensationEntry
impl Send for CompensationEntry
impl Sync for CompensationEntry
impl Sync for CompensationEntry