Enum bonsaidb_core::permissions::bonsai::DatabaseAction
source · 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§
source§impl Action for DatabaseAction
impl Action for DatabaseAction
source§fn name(&self) -> ActionName
fn name(&self) -> ActionName
The full name of this action.
source§impl Clone for DatabaseAction
impl Clone for DatabaseAction
source§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 moresource§impl Debug for DatabaseAction
impl Debug for DatabaseAction
source§impl<'de> Deserialize<'de> for DatabaseAction
impl<'de> Deserialize<'de> for DatabaseAction
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 DatabaseAction
impl Serialize for DatabaseAction
impl Copy for DatabaseAction
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseAction
impl Send for DatabaseAction
impl Sync for DatabaseAction
impl Unpin for DatabaseAction
impl UnwindSafe for DatabaseAction
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