Struct plaid::model::PayStubEarningsTotal
source · pub struct PayStubEarningsTotal {
pub current_amount: Option<f64>,
pub hours: Option<f64>,
pub iso_currency_code: Option<String>,
pub unofficial_currency_code: Option<String>,
pub ytd_amount: Option<f64>,
}
Expand description
An object representing both the current pay period and year to date amount for an earning category.
Fields§
§current_amount: Option<f64>
Total amount of the earnings for this pay period.
hours: Option<f64>
Total number of hours worked for this pay period.
iso_currency_code: Option<String>
The ISO-4217 currency code of the line item. Always null
if unofficial_currency_code
is non-null.
unofficial_currency_code: Option<String>
The unofficial currency code associated with the security. Always null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.
See the currency code schema for a full listing of supported iso_currency_code
s.
ytd_amount: Option<f64>
The total year-to-date amount of the earnings.
Trait Implementations§
source§impl Clone for PayStubEarningsTotal
impl Clone for PayStubEarningsTotal
source§fn clone(&self) -> PayStubEarningsTotal
fn clone(&self) -> PayStubEarningsTotal
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PayStubEarningsTotal
impl Debug for PayStubEarningsTotal
source§impl Default for PayStubEarningsTotal
impl Default for PayStubEarningsTotal
source§fn default() -> PayStubEarningsTotal
fn default() -> PayStubEarningsTotal
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PayStubEarningsTotal
impl<'de> Deserialize<'de> for PayStubEarningsTotal
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
source§impl Display for PayStubEarningsTotal
impl Display for PayStubEarningsTotal
Auto Trait Implementations§
impl RefUnwindSafe for PayStubEarningsTotal
impl Send for PayStubEarningsTotal
impl Sync for PayStubEarningsTotal
impl Unpin for PayStubEarningsTotal
impl UnwindSafe for PayStubEarningsTotal
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