pub struct Paystub {
    pub deductions: Deductions,
    pub doc_id: String,
    pub earnings: Earnings,
    pub employee: Employee,
    pub employer: PaystubEmployer,
    pub employment_details: Option<EmploymentDetails>,
    pub net_pay: NetPay,
    pub pay_period_details: PayPeriodDetails,
    pub paystub_details: Option<PaystubDetails>,
    pub income_breakdown: Option<Vec<IncomeBreakdown>>,
    pub ytd_earnings: Option<PaystubYTDDetails>,
    pub verification: PaystubVerification,
}

Fields

deductions: Deductions

An object with the deduction information found on a paystub.

doc_id: String

An identifier of the document referenced by the document metadata.

earnings: Earnings

An object representing both a breakdown of earnings on a paystub and the total earnings.

employee: Employee

Data about the employee.

employer: PaystubEmployer

Information about the employer on the paystub

employment_details: Option<EmploymentDetails>

An object representing employment details found on a paystub.

net_pay: NetPay

An object representing information about the net pay amount on the paystub.

pay_period_details: PayPeriodDetails

Details about the pay period.

paystub_details: Option<PaystubDetails>

An object representing details that can be found on the paystub.

income_breakdown: Option<Vec<IncomeBreakdown>>
ytd_earnings: Option<PaystubYTDDetails>

The amount of income earned year to date, as based on paystub data.

verification: PaystubVerification

An object containing details on the paystub’s verification status. This object will only be populated if the income_verification.access_tokens parameter was provided during the /link/token/create call or if a problem was detected with the information supplied by the user; otherwise it will be null.

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