Struct gusto_api::types::EmployeeCompensations
source · pub struct EmployeeCompensations {
pub benefits: Vec<Benefits>,
pub deductions: Vec<Deductions>,
pub employee_id: f64,
pub fixed_compensations: Vec<FixedCompensations>,
pub gross_pay: String,
pub hourly_compensations: Vec<HourlyCompensations>,
pub net_pay: String,
pub paid_time_off: Vec<PayrollEmployeeCompensationsPaidTimeOff>,
pub payment_method: Option<PayrollEmployeeCompensationsPaymentMethod>,
pub taxes: Vec<Taxes>,
}Fields
benefits: Vec<Benefits>An array of employee benefits for the pay period. Benefits are only included for processed payroll when the include parameter is present.
deductions: Vec<Deductions>An array of employee deductions for the pay period. Deductions are only included for processed payroll when the include parameter is present.
employee_id: f64The ID of the employee in Gusto.
fixed_compensations: Vec<FixedCompensations>An array of fixed compensations for the employee. Fixed compensations include tips, bonuses, and one time reimbursements. If this payroll has been procesed, only fixed compensations with a value greater than 0.00 are returned. For an unprocess payroll, all active fixed compensations are returned.
gross_pay: StringA unique identifier of the employee in Gusto.
hourly_compensations: Vec<HourlyCompensations>An array of hourly compensations for the employee. Hourly compensations include regular, overtime, and double overtime hours. If this payroll has been procesed, only hourly compensations with a value greater than 0.00 are returned. For an unprocess payroll, all active hourly compensations are returned.
net_pay: StringA unique identifier of the employee in Gusto.
paid_time_off: Vec<PayrollEmployeeCompensationsPaidTimeOff>An array of all paid time off the employee is eligible for this pay period.
payment_method: Option<PayrollEmployeeCompensationsPaymentMethod>The employee’s compensation payment method. This value is only available for processed payrolls.
taxes: Vec<Taxes>An array of employer and employee taxes for the pay period. Taxes are only included for processed payroll when the include parameter is present.
Trait Implementations
sourceimpl Clone for EmployeeCompensations
impl Clone for EmployeeCompensations
sourcefn clone(&self) -> EmployeeCompensations
fn clone(&self) -> EmployeeCompensations
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for EmployeeCompensations
impl Debug for EmployeeCompensations
sourceimpl<'de> Deserialize<'de> for EmployeeCompensations
impl<'de> Deserialize<'de> for EmployeeCompensations
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 EmployeeCompensations
impl JsonSchema for EmployeeCompensations
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