Struct gusto_api::types::PutEmployeeBenefitRequest[][src]

pub struct PutEmployeeBenefitRequest {
Show 13 fields pub active: Option<bool>, pub catch_up: Option<bool>, pub company_contribution: String, pub company_contribution_annual_maximum: String, pub contribute_as_percentage: Option<bool>, pub coverage_amount: String, pub coverage_salary_multiplier: String, pub deduct_as_percentage: Option<bool>, pub deduction_reduces_taxable_income: Option<DeductionReducesTaxableIncome>, pub employee_deduction: String, pub employee_deduction_annual_maximum: String, pub limit_option: String, pub version: String,
}

Fields

active: Option<bool>

Whether the employee benefit is active.

catch_up: Option<bool>

Whether the employee should use a benefit’s “catch up” rate. Only Roth 401k and 401k benefits use this value for employees over 50.

company_contribution: String

The amount to be paid, per pay period, by the company.

company_contribution_annual_maximum: String

The maximum company contribution amount per year. A null value signifies no limit.

contribute_as_percentage: Option<bool>

Whether the company contribution amount should be treated as a percentage to be deducted from each payroll.

coverage_amount: String

The amount that the employee is insured for. Note: company contribution cannot be present if coverage amount is set.

coverage_salary_multiplier: String

The coverage amount as a multiple of the employee’s salary. Only applicable for Group Term Life benefits. Note: cannot be set if coverage amount is also set.

deduct_as_percentage: Option<bool>

Whether the employee deduction amount should be treated as a percentage to be deducted from each payroll.

deduction_reduces_taxable_income: Option<DeductionReducesTaxableIncome>

Whether the employee deduction reduces taxable income or not. Only valid for Group Term Life benefits. Note: when the value is not “unset”, coverage amount and coverage salary multiplier are ignored.

employee_deduction: String

The amount to be deducted, per pay period, from the employee’s pay.

employee_deduction_annual_maximum: String

The maximum employee deduction amount per year. A null value signifies no limit.

limit_option: String

Some benefits require additional information to determine their limit. For example, for an HSA benefit, the limit option should be either “Family” or “Individual”. For a Dependent Care FSA benefit, the limit option should be either “Joint Filing or Single” or “Married and Filing Separately”.

version: String

The current version of the object. See the versioning guide for information on how to use this field.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.