Struct gusto_api::types::PutContractorRequest [−][src]
pub struct PutContractorRequest { pub business_name: String, pub ein: String, pub first_name: String, pub hourly_rate: String, pub last_name: String, pub middle_initial: String, pub start_date: Option<NaiveDate>, pub version: String, pub wage_type: Option<PutContractorRequestWageType>, }
Expand description
Fields
business_name: String
The name of the contractor business. This attribute is required for “Business” contractors and will be ignored for “Individual” contractors.
ein: String
first_name: String
The contractor’s first name. This attribute is required for “Individual” contractors and will be ignored for “Business” contractors.
hourly_rate: String
last_name: String
The contractor’s last name. This attribute is required for “Individual” contractors and will be ignored for “Business” contractors.
middle_initial: String
start_date: Option<NaiveDate>
version: String
wage_type: Option<PutContractorRequestWageType>
Trait Implementations
Returns the “default value” for a type. Read more
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 PutContractorRequest
impl Send for PutContractorRequest
impl Sync for PutContractorRequest
impl Unpin for PutContractorRequest
impl UnwindSafe for PutContractorRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more