pub struct Earnings {
pub breakdown: Option<Vec<EarningsBreakdown>>,
pub subtotals: Option<Vec<EarningsTotal>>,
pub total: Option<EarningsTotal>,
pub totals: Option<Vec<EarningsTotal>>,
}
Expand description
An object representing both a breakdown of earnings on a paystub and the total earnings.
Fields§
§breakdown: Option<Vec<EarningsBreakdown>>
§subtotals: Option<Vec<EarningsTotal>>
§total: Option<EarningsTotal>
An object representing both the current pay period and year to date amount for an earning category.
totals: Option<Vec<EarningsTotal>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Earnings
impl<'de> Deserialize<'de> for Earnings
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Earnings
impl Send for Earnings
impl Sync for Earnings
impl Unpin for Earnings
impl UnwindSafe for Earnings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more