pub enum Action {
Show 16 variants All, Search, DocumentsAdd, DocumentsGet, DocumentsDelete, IndexesCreate, IndexesGet, IndexesUpdate, IndexesDelete, TasksGet, SettingsGet, SettingsUpdate, StatsGet, DumpsCreate, DumpsGet, Version,
}

Variants

All

Provides access to everything.

Search

Provides access to both POST and GET search endpoints on authorized indexes.

DocumentsAdd

Provides access to the add documents and update documents endpoints on authorized indexes.

DocumentsGet

Provides access to the get one document and get documents endpoints on authorized indexes.

DocumentsDelete

Provides access to the delete one document, delete all documents, and batch delete endpoints on authorized indexes.

IndexesCreate

Provides access to the create index endpoint.

IndexesGet

Provides access to the get one index and list all indexes endpoints. Non-authorized indexes will be omitted from the response.

IndexesUpdate

Provides access to the update index endpoint.

IndexesDelete

Provides access to the delete index endpoint.

TasksGet

Provides access to the get one task and get all tasks endpoints. Tasks from non-authorized indexes will be omitted from the response. Also provides access to the get one task by index and get all tasks by index endpoints on authorized indexes.

SettingsGet

Provides access to the get settings endpoint and equivalents for all subroutes on authorized indexes.

SettingsUpdate

Provides access to the update settings and reset settings endpoints and equivalents for all subroutes on authorized indexes.

StatsGet

Provides access to the get stats of an index endpoint and the get stats of all indexes endpoint. For the latter, non-authorized indexes are omitted from the response.

DumpsCreate

Provides access to the create dump endpoint. Not restricted by indexes.

DumpsGet

Provides access to the get dump status endpoint. Not restricted by indexes.

Version

Provides access to the get Meilisearch version endpoint.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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.

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

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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

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