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: f64
The ID of the employee in Gusto.
company_contribution: String
§company_contribution_annual_maximum: String
§contribute_as_percentage: Option<bool>
§coverage_amount: String
§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
§limit_option: String
Trait Implementations§
source§impl Clone for PostEmployeeBenefitsRequest
impl Clone for PostEmployeeBenefitsRequest
source§fn clone(&self) -> PostEmployeeBenefitsRequest
fn clone(&self) -> PostEmployeeBenefitsRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PostEmployeeBenefitsRequest
impl Debug for PostEmployeeBenefitsRequest
source§impl<'de> Deserialize<'de> for PostEmployeeBenefitsRequest
impl<'de> Deserialize<'de> for PostEmployeeBenefitsRequest
source§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
source§impl JsonSchema for PostEmployeeBenefitsRequest
impl JsonSchema for PostEmployeeBenefitsRequest
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn 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 moresource§impl PartialEq<PostEmployeeBenefitsRequest> for PostEmployeeBenefitsRequest
impl PartialEq<PostEmployeeBenefitsRequest> for PostEmployeeBenefitsRequest
source§fn eq(&self, other: &PostEmployeeBenefitsRequest) -> bool
fn eq(&self, other: &PostEmployeeBenefitsRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more