Struct gusto_api::admins_beta::AdminsBeta[][src]

pub struct AdminsBeta { /* fields omitted */ }

Implementations

Get all the admins at a company.

This function performs a GET to the /v1/companies/{company_id}/admins endpoint.

This endpoint is in beta and intended for Gusto Embedded Payroll customers. Please apply for early access if you’d like to learn more and use it for production. Note, this endpoint will require you to enter a different agreement with Gusto.

Returns a list of all the admins at a company

Get all the admins at a company.

This function performs a GET to the /v1/companies/{company_id}/admins endpoint.

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

This endpoint is in beta and intended for Gusto Embedded Payroll customers. Please apply for early access if you’d like to learn more and use it for production. Note, this endpoint will require you to enter a different agreement with Gusto.

Returns a list of all the admins at a company

Create an admin for the company.

This function performs a POST to the /v1/companies/{company_id}/admins endpoint.

This endpoint is in beta and intended for Gusto Embedded Payroll customers. Please apply for early access if you’d like to learn more and use it for production. Note, this endpoint will require you to enter a different agreement with Gusto.

Creates a new admin for a company. If the email matches an existing user, this will create an admin account for the current user. Otherwise, this will create a new user.

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.