pub enum PermitScope {
Mutation,
Destructive,
Cost,
}Expand description
Runtime execution authority required by an operation.
Variants§
Mutation
Non-destructive state mutation without a known direct charge.
Destructive
Destructive or disabling state mutation.
Cost
Mutation that may directly incur provider charges.
Trait Implementations§
Source§impl Clone for PermitScope
impl Clone for PermitScope
Source§fn clone(&self) -> PermitScope
fn clone(&self) -> PermitScope
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 PermitScope
Source§impl Debug for PermitScope
impl Debug for PermitScope
impl Eq for PermitScope
Source§impl Hash for PermitScope
impl Hash for PermitScope
Source§impl Ord for PermitScope
impl Ord for PermitScope
Source§fn cmp(&self, other: &PermitScope) -> Ordering
fn cmp(&self, other: &PermitScope) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PermitScope
impl PartialEq for PermitScope
Source§impl PartialOrd for PermitScope
impl PartialOrd for PermitScope
impl StructuralPartialEq for PermitScope
Auto Trait Implementations§
impl Freeze for PermitScope
impl RefUnwindSafe for PermitScope
impl Send for PermitScope
impl Sync for PermitScope
impl Unpin for PermitScope
impl UnsafeUnpin for PermitScope
impl UnwindSafe for PermitScope
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