Struct gusto_api::types::PaySchedule [−][src]
pub struct PaySchedule { pub anchor_pay_date: Option<NaiveDate>, pub auto_pilot: bool, pub day_1: i64, pub day_2: i64, pub frequency: Option<Frequency>, pub id: i64, pub name: String, pub uuid: String, }
Expand description
The representation of a pay schedule.
Fields
anchor_pay_date: Option<NaiveDate>
The representation of a pay schedule.
auto_pilot: bool
The representation of a pay schedule.
day_1: i64
An integer between 1 and 31 indicating the first day of the month that employees are paid. This field is only relevant for pay schedules with the “Twice per month” and “Monthly” frequencies. It will be null for pay schedules with other frequencies.
day_2: i64
An integer between 1 and 31 indicating the second day of the month that employees are paid. This field is the second pay date for pay schedules with the “Twice per month” frequency. It will be null for pay schedules with other frequencies.
frequency: Option<Frequency>
The representation of a pay schedule.
id: i64
The representation of a pay schedule.
name: String
Hourly when the pay schedule is for hourly employees. Salaried when the pay schedule is for salaried employees. It will be null when the pay schedule is for all employees.
uuid: String
The representation of a pay schedule.
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 PaySchedule
impl Send for PaySchedule
impl Sync for PaySchedule
impl Unpin for PaySchedule
impl UnwindSafe for PaySchedule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more