[][src]Struct gusto_api::Job

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>,
}

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

impl Clone for Job[src]

impl Debug for Job[src]

impl<'de> Deserialize<'de> for Job[src]

impl Serialize for Job[src]

Auto Trait Implementations

impl RefUnwindSafe for Job

impl Send for Job

impl Sync for Job

impl Unpin for Job

impl UnwindSafe for Job

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.