Struct gusto_api::contractors::Contractors[][src]

pub struct Contractors { /* fields omitted */ }

Implementations

Get a contractor.

This function performs a GET to the /v1/contractors/{contractor_id_or_uuid} endpoint.

Get a contractor.

Update a contractor.

This function performs a PUT to the /v1/contractors/{contractor_id_or_uuid} endpoint.

Update a contractor.

Get contractors of a company.

This function performs a GET to the /v1/companies/{company_id_or_uuid}/contractors endpoint.

Get all contractors, active and inactive, individual and business, for a company.

Get contractors of a company.

This function performs a GET to the /v1/companies/{company_id_or_uuid}/contractors endpoint.

As opposed to get_company_contractors, this function returns all the pages of the request at once.

Get all contractors, active and inactive, individual and business, for a company.

Create a contractor.

This function performs a POST to the /v1/companies/{company_id_or_uuid}/contractors endpoint.

Create an individual or business contractor.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.