Enum system_env::PromptArgument
source · pub enum PromptArgument {
None,
Interactive(String),
Skip(String),
}
Expand description
The CLI argument format for enabling interactive mode.
Variants§
None
Does not support interactive.
Interactive(String)
Enables interactive mode: -i
Skip(String)
Disables interactive mode: -y
Trait Implementations§
source§impl Clone for PromptArgument
impl Clone for PromptArgument
source§fn clone(&self) -> PromptArgument
fn clone(&self) -> PromptArgument
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for PromptArgument
impl Send for PromptArgument
impl Sync for PromptArgument
impl Unpin for PromptArgument
impl UnwindSafe for PromptArgument
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