pub enum CommandSafety {
Safe,
Mutating,
Gated,
}Expand description
Safe or mutating command class.
Variants§
Safe
Read-only command.
Mutating
Mutating command.
Gated
Mutating command gated by dry-run or confirmation.
Trait Implementations§
Source§impl Clone for CommandSafety
impl Clone for CommandSafety
Source§fn clone(&self) -> CommandSafety
fn clone(&self) -> CommandSafety
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 CommandSafety
impl Debug for CommandSafety
Source§impl Serialize for CommandSafety
impl Serialize for CommandSafety
impl Copy for CommandSafety
Auto Trait Implementations§
impl Freeze for CommandSafety
impl RefUnwindSafe for CommandSafety
impl Send for CommandSafety
impl Sync for CommandSafety
impl Unpin for CommandSafety
impl UnsafeUnpin for CommandSafety
impl UnwindSafe for CommandSafety
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