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: f64The ID of the employee in Gusto.
company_contribution: Stringcompany_contribution_annual_maximum: Stringcontribute_as_percentage: Option<bool>coverage_amount: Stringcoverage_salary_multiplier: Stringdeduct_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: Stringemployee_deduction_annual_maximum: Stringlimit_option: StringTrait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PostEmployeeBenefitsRequest
impl Send for PostEmployeeBenefitsRequest
impl Sync for PostEmployeeBenefitsRequest
impl Unpin for PostEmployeeBenefitsRequest
impl UnwindSafe for PostEmployeeBenefitsRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
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