pub enum OperationImpact {
ReadOnly,
Mutation,
Destructive,
}Expand description
Provider operation impact.
Variants§
ReadOnly
The operation cannot change provider state.
Mutation
The operation changes provider state without being inherently destructive.
Destructive
The operation deletes, disables, resets, detaches, or otherwise destroys state.
Trait Implementations§
Source§impl Clone for OperationImpact
impl Clone for OperationImpact
Source§fn clone(&self) -> OperationImpact
fn clone(&self) -> OperationImpact
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 OperationImpact
Source§impl Debug for OperationImpact
impl Debug for OperationImpact
impl Eq for OperationImpact
Source§impl Hash for OperationImpact
impl Hash for OperationImpact
Source§impl Ord for OperationImpact
impl Ord for OperationImpact
Source§fn cmp(&self, other: &OperationImpact) -> Ordering
fn cmp(&self, other: &OperationImpact) -> 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 OperationImpact
impl PartialEq for OperationImpact
Source§impl PartialOrd for OperationImpact
impl PartialOrd for OperationImpact
impl StructuralPartialEq for OperationImpact
Auto Trait Implementations§
impl Freeze for OperationImpact
impl RefUnwindSafe for OperationImpact
impl Send for OperationImpact
impl Sync for OperationImpact
impl Unpin for OperationImpact
impl UnsafeUnpin for OperationImpact
impl UnwindSafe for OperationImpact
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