Struct gusto_api::types::EmployeeBenefit
source · pub struct EmployeeBenefit {Show 16 fields
pub active: bool,
pub catch_up: bool,
pub company_benefit_id: f64,
pub company_contribution: String,
pub company_contribution_annual_maximum: String,
pub contribute_as_percentage: bool,
pub coverage_amount: String,
pub coverage_salary_multiplier: String,
pub deduct_as_percentage: bool,
pub deduction_reduces_taxable_income: Option<DeductionReducesTaxableIncome>,
pub employee_deduction: String,
pub employee_deduction_annual_maximum: String,
pub employee_id: f64,
pub id: f64,
pub limit_option: String,
pub version: String,
}Expand description
The representation of an employee benefit.
Fields
active: boolThe representation of an employee benefit.
catch_up: boolThe representation of an employee benefit.
company_benefit_id: f64The representation of an employee benefit.
company_contribution: StringThe representation of an employee benefit.
company_contribution_annual_maximum: StringThe representation of an employee benefit.
contribute_as_percentage: boolThe representation of an employee benefit.
coverage_amount: StringThe representation of an employee benefit.
coverage_salary_multiplier: StringThe representation of an employee benefit.
deduct_as_percentage: boolThe representation of an employee benefit.
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: StringThe representation of an employee benefit.
employee_deduction_annual_maximum: StringThe representation of an employee benefit.
employee_id: f64The representation of an employee benefit.
id: f64The representation of an employee benefit.
limit_option: StringThe representation of an employee benefit.
version: StringThe representation of an employee benefit.
Trait Implementations
sourceimpl Clone for EmployeeBenefit
impl Clone for EmployeeBenefit
sourcefn clone(&self) -> EmployeeBenefit
fn clone(&self) -> EmployeeBenefit
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for EmployeeBenefit
impl Debug for EmployeeBenefit
sourceimpl<'de> Deserialize<'de> for EmployeeBenefit
impl<'de> Deserialize<'de> for EmployeeBenefit
sourcefn 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>,
sourceimpl JsonSchema for EmployeeBenefit
impl JsonSchema for EmployeeBenefit
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more