Struct gusto_api::types::EmployeeCompensations [−][src]
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: f64
The ID of the employee.
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: String
The employee’s gross pay. This value is only available for processed payrolls.
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: String
The employee’s net pay. This value is only available for processed payrolls.
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
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for EmployeeCompensations
impl Send for EmployeeCompensations
impl Sync for EmployeeCompensations
impl Unpin for EmployeeCompensations
impl UnwindSafe for EmployeeCompensations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more