Enum bonsaidb::core::permissions::bonsai::KeyValueAction
pub enum KeyValueAction {
ExecuteOperation,
}
Expand description
Actions that operate on the key-value store.
Variants§
ExecuteOperation
Allows executing a key-value store operation with
KeyValue::execute_key_operation()
.
See keyvalue_key_resource_name()
for the format of key resource names.
Trait Implementations§
§impl Action for KeyValueAction
impl Action for KeyValueAction
§fn name(&self) -> ActionName
fn name(&self) -> ActionName
The full name of this action.
§impl Clone for KeyValueAction
impl Clone for KeyValueAction
§fn clone(&self) -> KeyValueAction
fn clone(&self) -> KeyValueAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for KeyValueAction
impl Debug for KeyValueAction
§impl<'de> Deserialize<'de> for KeyValueAction
impl<'de> Deserialize<'de> for KeyValueAction
§fn deserialize<__D>(
__deserializer: __D
) -> Result<KeyValueAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<KeyValueAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for KeyValueAction
impl Serialize for KeyValueAction
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more