Enum meilisearch_sdk::key::Action
source · pub enum Action {
Show 20 variants
All,
Search,
DocumentsAdd,
DocumentsGet,
DocumentsDelete,
IndexesCreate,
IndexesGet,
IndexesUpdate,
IndexesDelete,
TasksGet,
SettingsGet,
SettingsUpdate,
StatsGet,
DumpsCreate,
DumpsGet,
Version,
KeyGet,
KeyCreate,
KeyUpdate,
KeyDelete,
}Variants§
All
Provides access to everything.
Search
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.
KeyGet
KeyCreate
Provides access to the create key endpoint.
KeyUpdate
Provides access to the update key endpoint.
KeyDelete
Provides access to the delete key endpoint.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
source§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>,
source§impl PartialEq for Action
impl PartialEq for Action
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more