Enum bonsaidb::core::permissions::bonsai::DatabaseAction
pub enum DatabaseAction {
Compact,
Document(DocumentAction),
View(ViewAction),
Transaction(TransactionAction),
PubSub(PubSubAction),
KeyValue(KeyValueAction),
}
Expand description
Actions that operate on a specific database.
Variants§
Compact
The ability to compact data to reclaim space.
Document(DocumentAction)
Actions that operate on a document.
View(ViewAction)
Actions that operate on a view.
Transaction(TransactionAction)
Actions that operate on transactions.
PubSub(PubSubAction)
Actions that operate on the PubSub
system.
KeyValue(KeyValueAction)
Actions that operate on the key-value store.
Trait Implementations§
§impl Action for DatabaseAction
impl Action for DatabaseAction
§fn name(&self) -> ActionName
fn name(&self) -> ActionName
The full name of this action.
§impl Clone for DatabaseAction
impl Clone for DatabaseAction
§fn clone(&self) -> DatabaseAction
fn clone(&self) -> DatabaseAction
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 DatabaseAction
impl Debug for DatabaseAction
§impl<'de> Deserialize<'de> for DatabaseAction
impl<'de> Deserialize<'de> for DatabaseAction
§fn deserialize<__D>(
__deserializer: __D
) -> Result<DatabaseAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DatabaseAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for DatabaseAction
impl Serialize for DatabaseAction
§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