pub enum ActionClass {
Observe,
Navigate,
EditReversible,
CommunicateExternal,
Authentication,
Financial,
Destructive,
PrivilegeChange,
SecretAccess,
}Expand description
Operation-aware action class used by authorization and policy.
Variants§
Observe
Read-only observation.
Navigation without persistent side effects.
EditReversible
A reversible edit.
CommunicateExternal
Communication that leaves the machine.
Authentication
An authentication interaction.
Financial
A financial transaction.
Destructive
A destructive, non-reversible operation.
PrivilegeChange
A change to privileges or permissions.
SecretAccess
Access to secret material.
Trait Implementations§
Source§impl Clone for ActionClass
impl Clone for ActionClass
Source§fn clone(&self) -> ActionClass
fn clone(&self) -> ActionClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ActionClass
Source§impl Debug for ActionClass
impl Debug for ActionClass
Source§impl<'de> Deserialize<'de> for ActionClass
impl<'de> Deserialize<'de> for ActionClass
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
impl Eq for ActionClass
Source§impl PartialEq for ActionClass
impl PartialEq for ActionClass
Source§impl Serialize for ActionClass
impl Serialize for ActionClass
impl StructuralPartialEq for ActionClass
Auto Trait Implementations§
impl Freeze for ActionClass
impl RefUnwindSafe for ActionClass
impl Send for ActionClass
impl Sync for ActionClass
impl Unpin for ActionClass
impl UnsafeUnpin for ActionClass
impl UnwindSafe for ActionClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.