pub struct PayStubDeductionsTotal {
pub current_amount: Option<f64>,
pub iso_currency_code: Option<String>,
pub unofficial_currency_code: Option<String>,
pub ytd_amount: Option<f64>,
}Expand description
An object representing the total deductions for the pay period
Fields§
§current_amount: Option<f64>Raw amount of the deduction
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 line item. 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_codes.
ytd_amount: Option<f64>The year-to-date total amount of the deductions
Trait Implementations§
Source§impl Clone for PayStubDeductionsTotal
impl Clone for PayStubDeductionsTotal
Source§fn clone(&self) -> PayStubDeductionsTotal
fn clone(&self) -> PayStubDeductionsTotal
Returns a duplicate 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 PayStubDeductionsTotal
impl Debug for PayStubDeductionsTotal
Source§impl Default for PayStubDeductionsTotal
impl Default for PayStubDeductionsTotal
Source§fn default() -> PayStubDeductionsTotal
fn default() -> PayStubDeductionsTotal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayStubDeductionsTotal
impl<'de> Deserialize<'de> for PayStubDeductionsTotal
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 PayStubDeductionsTotal
impl Display for PayStubDeductionsTotal
Auto Trait Implementations§
impl Freeze for PayStubDeductionsTotal
impl RefUnwindSafe for PayStubDeductionsTotal
impl Send for PayStubDeductionsTotal
impl Sync for PayStubDeductionsTotal
impl Unpin for PayStubDeductionsTotal
impl UnwindSafe for PayStubDeductionsTotal
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