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<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
source§impl Serialize for DatabaseAction
impl Serialize for DatabaseAction
source§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
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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