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: 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: StringTrait Implementations§
Source§impl Clone for PostEmployeeBenefitsRequest
impl Clone for PostEmployeeBenefitsRequest
Source§fn clone(&self) -> PostEmployeeBenefitsRequest
fn clone(&self) -> PostEmployeeBenefitsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 for PostEmployeeBenefitsRequest
impl PartialEq for PostEmployeeBenefitsRequest
Source§fn eq(&self, other: &PostEmployeeBenefitsRequest) -> bool
fn eq(&self, other: &PostEmployeeBenefitsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostEmployeeBenefitsRequest
Auto Trait Implementations§
impl Freeze for PostEmployeeBenefitsRequest
impl RefUnwindSafe for PostEmployeeBenefitsRequest
impl Send for PostEmployeeBenefitsRequest
impl Sync for PostEmployeeBenefitsRequest
impl Unpin for PostEmployeeBenefitsRequest
impl UnsafeUnpin 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