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

Optional.

Compensation amount.

Optional.

Compensation description. For example, could indicate equity terms or provide additional context to an estimated bonus.

Optional.

Compensation range.

Optional.

Compensation type.

Default is CompensationUnit.OTHER_COMPENSATION_TYPE.

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

Optional.

Frequency of the specified amount.

Default is CompensationUnit.OTHER_COMPENSATION_UNIT.

Trait Implementations

impl Default for CompensationEntry
[src]

Returns the "default value" for a type. Read more

impl Clone for CompensationEntry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CompensationEntry
[src]

Formats the value using the given formatter. Read more

impl Part for CompensationEntry
[src]

Auto Trait Implementations