Enum pliantdb_core::permissions::pliant::DocumentAction [−][src]
pub enum DocumentAction { Get, Insert, Update, Delete, }
Expand description
Actions that operate on a document.
Variants
Allows document retrieval through
Connection::get()
and
Connection::get_multiple()
.
See document_resource_name()
for the format of document resource
names.
Allows inserting a document through
Connection::apply_transaction()
.
See collection_resource_name()
for the format of collection resource
names.
Allows updating a document through
Connection::apply_transaction()
.
See document_resource_name()
for the format of document resource
names.
Allows deleting a document through
Connection::apply_transaction()
.
See document_resource_name()
for the format of document resource
names.
Trait Implementations
The full name of this action.
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
Auto Trait Implementations
impl RefUnwindSafe for DocumentAction
impl Send for DocumentAction
impl Sync for DocumentAction
impl Unpin for DocumentAction
impl UnwindSafe for DocumentAction
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self