pub struct PaystubDetails {
    pub pay_period_start_date: Option<String>,
    pub pay_period_end_date: Option<String>,
    pub pay_date: Option<String>,
    pub paystub_provider: Option<String>,
    pub pay_frequency: PaystubPayFrequency,
}

Fields

pay_period_start_date: Option<String>

Beginning date of the pay period on the paystub in the ‘YYYY-MM-DD’ format.

pay_period_end_date: Option<String>

Ending date of the pay period on the paystub in the ‘YYYY-MM-DD’ format.

pay_date: Option<String>

Pay date on the paystub in the ‘YYYY-MM-DD’ format.

paystub_provider: Option<String>

The name of the payroll provider that generated the paystub, e.g. ADP

pay_frequency: PaystubPayFrequency

The frequency at which the employee is paid. Possible values: MONTHLY, BI-WEEKLY, WEEKLY, SEMI-MONTHLY.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more