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: StringThe name of the contractor business. This attribute is required for “Business” contractors and will be ignored for “Individual” contractors.
ein: Stringfirst_name: StringThe contractor’s first name. This attribute is required for “Individual” contractors and will be ignored for “Business” contractors.
hourly_rate: Stringlast_name: StringThe contractor’s last name. This attribute is required for “Individual” contractors and will be ignored for “Business” contractors.
middle_initial: Stringstart_date: Option<NaiveDate>version: Stringwage_type: Option<PutContractorRequestWageType>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 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