Enum fif::parameters::Prompt
source · pub enum Prompt {
Never,
Error,
Always,
}
Expand description
Specifies under what conditions the user should be prompted when running fif in --fix
mode. Defaults to Error
.
Specified at runtime with the -p
/--prompt
flag.
Variants§
Never
Never prompt.
Error
Prompt only on errors, and on overwrites, if --overwrite
is set.
Always
Prompt for every rename.
Trait Implementations§
source§impl PartialEq for Prompt
impl PartialEq for Prompt
impl Copy for Prompt
impl Eq for Prompt
impl StructuralEq for Prompt
impl StructuralPartialEq for Prompt
Auto Trait Implementations§
impl RefUnwindSafe for Prompt
impl Send for Prompt
impl Sync for Prompt
impl Unpin for Prompt
impl UnwindSafe for Prompt
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