Struct gusto_api::types::PayrollData
source · pub struct PayrollData {Show 13 fields
pub calculated_at: String,
pub check_date: Option<NaiveDate>,
pub company_id: f64,
pub company_uuid: String,
pub employee_compensations: Vec<EmployeeCompensations>,
pub pay_period: Option<PayrollPayPeriod>,
pub payroll_deadline: String,
pub payroll_id: f64,
pub payroll_uuid: String,
pub processed: bool,
pub processed_date: Option<NaiveDate>,
pub totals: Option<Totals>,
pub version: String,
}
Expand description
Fields§
§calculated_at: String
§check_date: Option<NaiveDate>
§company_id: f64
§company_uuid: String
§employee_compensations: Vec<EmployeeCompensations>
§pay_period: Option<PayrollPayPeriod>
§payroll_deadline: String
§payroll_id: f64
§payroll_uuid: String
§processed: bool
§processed_date: Option<NaiveDate>
§totals: Option<Totals>
§version: String
Trait Implementations§
source§impl Clone for PayrollData
impl Clone for PayrollData
source§fn clone(&self) -> PayrollData
fn clone(&self) -> PayrollData
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 PayrollData
impl Debug for PayrollData
source§impl<'de> Deserialize<'de> for PayrollData
impl<'de> Deserialize<'de> for PayrollData
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 JsonSchema for PayrollData
impl JsonSchema for PayrollData
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<PayrollData> for PayrollData
impl PartialEq<PayrollData> for PayrollData
source§fn eq(&self, other: &PayrollData) -> bool
fn eq(&self, other: &PayrollData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PayrollData
impl Serialize for PayrollData
impl StructuralPartialEq for PayrollData
Auto Trait Implementations§
impl RefUnwindSafe for PayrollData
impl Send for PayrollData
impl Sync for PayrollData
impl Unpin for PayrollData
impl UnwindSafe for PayrollData
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