pub enum Operations {
Read,
Write,
ReadWrite,
Execute,
None,
}Expand description
Operations that are allowed on a resource.
Variants§
Read
Resource can be only read.
Write
Resource can be only written.
ReadWrite
Resource can be read and written.
Execute
Resource can be only executed.
None
No operations allowed on resource.
Trait Implementations§
Source§impl Debug for Operations
impl Debug for Operations
Source§impl<'de> Deserialize<'de> for Operations
impl<'de> Deserialize<'de> for Operations
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 PartialEq for Operations
impl PartialEq for Operations
impl StructuralPartialEq for Operations
Auto Trait Implementations§
impl Freeze for Operations
impl RefUnwindSafe for Operations
impl Send for Operations
impl Sync for Operations
impl Unpin for Operations
impl UnwindSafe for Operations
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