Struct gusto_api::Job [−][src]
pub struct Job {
pub id: u64,
pub version: String,
pub employee_id: u64,
pub location_id: u64,
pub location: Location,
pub hire_date: NaiveDate,
pub title: String,
pub primary: bool,
pub rate: String,
pub payment_unit: String,
pub current_compensation_id: u64,
pub compensations: Vec<Compensation>,
}Expand description
A job. FROM: https://docs.gusto.com/v1/jobs
Fields
id: u64version: Stringemployee_id: u64location_id: u64location: Locationhire_date: NaiveDatetitle: Stringprimary: boolrate: Stringpayment_unit: Stringcurrent_compensation_id: u64compensations: Vec<Compensation>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Jobimpl UnwindSafe for JobBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more