Struct gusto_api::types::Addresses [−][src]
pub struct Addresses { pub city: String, pub is_primary: String, pub phone: String, pub state: String, pub street_1: String, pub street_2: String, pub zip: String, }
Fields
city: String
is_primary: String
Whether or not this is a primary address for the company. If set to true, the address will be used as the mailing and filing address for the company and will be added as a work location. If set to false or not included, the address will only be added as a work location for the company. If multiple addresses are included, only one should be marked as primary.
phone: String
state: String
street_1: String
street_2: String
zip: String
Trait Implementations
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 RefUnwindSafe for Addresses
impl UnwindSafe for Addresses
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more