pub struct Airtable { /* private fields */ }
Expand description

Entrypoint for interacting with the Airtable API.

Implementations

Create a new Airtable client struct. It takes a type that can convert into an &str (String or Vec<u8> for example). As long as the function is given a valid API Key and Base ID your requests will work. You can leave the Enterprise Account ID empty if you are not using the Enterprise API features.

Create a new Airtable client struct from environment variables. It takes a type that can convert into an &str (String or Vec<u8> for example). As long as the function is given a valid API Key and Base ID your requests will work.

Get the currently set API key.

List records in a table for a particular view.

Get record from a table.

Delete record from a table.

Bulk create records in a table.

Due to limitations on the Airtable API, you can only bulk create 10 records at a time.

Bulk update records in a table.

Due to limitations on the Airtable API, you can only bulk update 10 records at a time.

List users. This is for an enterprise admin to do only. FROM: https://airtable.com/api/enterprise

Get an enterprise user. This is for an enterprise admin to do only. FROM: https://airtable.com/api/enterprise#enterpriseAccountUserGetInformationByEmail Permission level can be: owner | create | edit | comment | read

Add a collaborator to a workspace. This is for an enterprise admin to do only. FROM: https://airtable.com/api/enterprise#enterpriseWorkspaceAddCollaborator Permission level can be: owner | create | edit | comment | read

Returns basic information on the workspace. Does not include deleted collaborators and only include outstanding invites. FROM: https://airtable.com/api/enterprise#enterpriseWorkspaceGetInformation

Delete internal user by email. This is for an enterprise admin to do only. The user must be an internal user, meaning they have an email with the company domain. FROM: https://airtable.com/api/enterprise#enterpriseAccountUserDeleteUserByEmail

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

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more