Enum bonsaidb_core::permissions::bonsai::KeyValueAction
source · 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§
source§impl Action for KeyValueAction
impl Action for KeyValueAction
source§fn name(&self) -> ActionName
fn name(&self) -> ActionName
The full name of this action.
source§impl Clone for KeyValueAction
impl Clone for KeyValueAction
source§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 moresource§impl Debug for KeyValueAction
impl Debug for KeyValueAction
source§impl<'de> Deserialize<'de> for KeyValueAction
impl<'de> Deserialize<'de> for KeyValueAction
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for KeyValueAction
impl Serialize for KeyValueAction
impl Copy for KeyValueAction
Auto Trait Implementations§
impl RefUnwindSafe for KeyValueAction
impl Send for KeyValueAction
impl Sync for KeyValueAction
impl Unpin for KeyValueAction
impl UnwindSafe for KeyValueAction
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
Mutably borrows from an owned value. Read more