Struct gusto_api::types::PutEmployeeBenefitRequest
source · pub struct PutEmployeeBenefitRequest {Show 13 fields
pub active: Option<bool>,
pub catch_up: Option<bool>,
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,
pub version: String,
}Fields
active: Option<bool>Whether the employee is terminated.
catch_up: Option<bool>Whether the employee is terminated.
company_contribution: StringA unique identifier of the employee in Gusto.
company_contribution_annual_maximum: StringA unique identifier of the employee in Gusto.
contribute_as_percentage: Option<bool>Whether the employee is terminated.
coverage_amount: StringA unique identifier of the employee in Gusto.
coverage_salary_multiplier: StringA unique identifier of the employee in Gusto.
deduct_as_percentage: Option<bool>Whether the employee is terminated.
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: StringA unique identifier of the employee in Gusto.
employee_deduction_annual_maximum: StringA unique identifier of the employee in Gusto.
limit_option: StringA unique identifier of the employee in Gusto.
version: StringA unique identifier of the employee in Gusto.
Trait Implementations
sourceimpl Clone for PutEmployeeBenefitRequest
impl Clone for PutEmployeeBenefitRequest
sourcefn clone(&self) -> PutEmployeeBenefitRequest
fn clone(&self) -> PutEmployeeBenefitRequest
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 PutEmployeeBenefitRequest
impl Debug for PutEmployeeBenefitRequest
sourceimpl<'de> Deserialize<'de> for PutEmployeeBenefitRequest
impl<'de> Deserialize<'de> for PutEmployeeBenefitRequest
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 PutEmployeeBenefitRequest
impl JsonSchema for PutEmployeeBenefitRequest
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<PutEmployeeBenefitRequest> for PutEmployeeBenefitRequest
impl PartialEq<PutEmployeeBenefitRequest> for PutEmployeeBenefitRequest
sourcefn eq(&self, other: &PutEmployeeBenefitRequest) -> bool
fn eq(&self, other: &PutEmployeeBenefitRequest) -> bool
sourceimpl Serialize for PutEmployeeBenefitRequest
impl Serialize for PutEmployeeBenefitRequest
impl StructuralPartialEq for PutEmployeeBenefitRequest
Auto Trait Implementations
impl RefUnwindSafe for PutEmployeeBenefitRequest
impl Send for PutEmployeeBenefitRequest
impl Sync for PutEmployeeBenefitRequest
impl Unpin for PutEmployeeBenefitRequest
impl UnwindSafe for PutEmployeeBenefitRequest
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