Struct gusto_api::types::PostEmployeeBenefitsRequest[][src]

pub struct PostEmployeeBenefitsRequest {
Show 13 fields pub active: Option<bool>, pub catch_up: Option<bool>, pub company_benefit_id: f64, 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,
}
Expand description

Fields

active: Option<bool>
catch_up: Option<bool>
company_benefit_id: f64

The ID of the employee in Gusto.

company_contribution: String
company_contribution_annual_maximum: String
contribute_as_percentage: Option<bool>
coverage_amount: String
coverage_salary_multiplier: String
deduct_as_percentage: Option<bool>
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
employee_deduction_annual_maximum: String
limit_option: String

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more