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: f64
The 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: String
A 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: String
A 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§
source§impl Clone for EmployeeCompensations
impl Clone for EmployeeCompensations
source§fn clone(&self) -> EmployeeCompensations
fn clone(&self) -> EmployeeCompensations
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EmployeeCompensations
impl Debug for EmployeeCompensations
source§impl<'de> Deserialize<'de> for EmployeeCompensations
impl<'de> Deserialize<'de> for EmployeeCompensations
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>,
source§impl JsonSchema for EmployeeCompensations
impl JsonSchema for EmployeeCompensations
source§fn schema_name() -> String
fn schema_name() -> String
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq<EmployeeCompensations> for EmployeeCompensations
impl PartialEq<EmployeeCompensations> for EmployeeCompensations
source§fn eq(&self, other: &EmployeeCompensations) -> bool
fn eq(&self, other: &EmployeeCompensations) -> bool
self
and other
values to be equal, and is used
by ==
.