Struct gusto_api::types::PostEmployeeGarnishmentRequest [−][src]
pub struct PostEmployeeGarnishmentRequest { pub active: Option<bool>, pub amount: f64, pub annual_maximum: f64, pub court_ordered: Option<bool>, pub deduct_as_percentage: Option<bool>, pub description: String, pub pay_period_maximum: f64, pub recurring: Option<bool>, pub times: i64, }
Expand description
Fields
active: Option<bool>
amount: f64
The amount of the garnishment. Either a percentage or a fixed dollar amount. Represented as a float, e.g. “8.00”.
annual_maximum: f64
The maximum deduction per annum. A null value indicates no maximum. Represented as a float, e.g. “200.00”.
court_ordered: Option<bool>
Whether the garnishment is court ordered.
deduct_as_percentage: Option<bool>
description: String
The description of the garnishment.
pay_period_maximum: f64
The maximum deduction per pay period. A null value indicates no maximum. Represented as a float, e.g. “16.00”.
recurring: Option<bool>
times: i64
The number of times to apply the garnisment. Ignored if recurring is true.
Trait Implementations
Returns the “default value” for a type. Read more
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 Send for PostEmployeeGarnishmentRequest
impl Sync for PostEmployeeGarnishmentRequest
impl Unpin for PostEmployeeGarnishmentRequest
impl UnwindSafe for PostEmployeeGarnishmentRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more