pub enum ActionCapability {
NonSideEffecting,
SideEffecting,
}Expand description
Declares the action’s capability class for policy decisions.
Variants§
NonSideEffecting
No side effects (e.g. formatting, parsing, pure transforms).
SideEffecting
Side effects possible (HTTP calls, exec, ticket writes, etc.).
Trait Implementations§
Source§impl Clone for ActionCapability
impl Clone for ActionCapability
Source§fn clone(&self) -> ActionCapability
fn clone(&self) -> ActionCapability
Returns a duplicate 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 ActionCapability
impl Debug for ActionCapability
Source§impl PartialEq for ActionCapability
impl PartialEq for ActionCapability
impl Copy for ActionCapability
impl Eq for ActionCapability
impl StructuralPartialEq for ActionCapability
Auto Trait Implementations§
impl Freeze for ActionCapability
impl RefUnwindSafe for ActionCapability
impl Send for ActionCapability
impl Sync for ActionCapability
impl Unpin for ActionCapability
impl UnwindSafe for ActionCapability
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