[][src]Struct gusto_api::Location

pub struct Location {
    pub id: u64,
    pub version: String,
    pub company_id: u64,
    pub phone_number: String,
    pub street_1: String,
    pub street_2: String,
    pub city: String,
    pub state: String,
    pub zip: String,
    pub country: String,
    pub active: bool,
}

A location. FROM: https://docs.gusto.com/v1/locations

Fields

id: u64version: Stringcompany_id: u64phone_number: Stringstreet_1: Stringstreet_2: Stringcity: Stringstate: Stringzip: Stringcountry: Stringactive: bool

Trait Implementations

impl Clone for Location[src]

impl Debug for Location[src]

impl Default for Location[src]

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

impl Serialize for Location[src]

Auto Trait Implementations

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.