Struct gusto_api::types::PostEmployeeBenefitsRequest
source · 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
sourceimpl Clone for PostEmployeeBenefitsRequest
impl Clone for PostEmployeeBenefitsRequest
sourcefn clone(&self) -> PostEmployeeBenefitsRequest
fn clone(&self) -> PostEmployeeBenefitsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PostEmployeeBenefitsRequest
impl Debug for PostEmployeeBenefitsRequest
sourceimpl<'de> Deserialize<'de> for PostEmployeeBenefitsRequest
impl<'de> Deserialize<'de> for PostEmployeeBenefitsRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for PostEmployeeBenefitsRequest
impl JsonSchema for PostEmployeeBenefitsRequest
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresourceimpl PartialEq<PostEmployeeBenefitsRequest> for PostEmployeeBenefitsRequest
impl PartialEq<PostEmployeeBenefitsRequest> for PostEmployeeBenefitsRequest
sourcefn eq(&self, other: &PostEmployeeBenefitsRequest) -> bool
fn eq(&self, other: &PostEmployeeBenefitsRequest) -> bool
impl StructuralPartialEq for PostEmployeeBenefitsRequest
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more