Struct gusto_api::types::PostEmployeeBenefitRequest [−][src]
pub struct PostEmployeeBenefitRequest {}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 company to which the benefit belongs.
company_contribution: String
company_contribution_annual_maximum: String
The maximum company contribution amount per year. A null value signifies no limit.
contribute_as_percentage: Option<bool>
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
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
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”.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PostEmployeeBenefitRequest
impl Send for PostEmployeeBenefitRequest
impl Sync for PostEmployeeBenefitRequest
impl Unpin for PostEmployeeBenefitRequest
impl UnwindSafe for PostEmployeeBenefitRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more