Struct garden::model::CommandOptions
source · [−]pub struct CommandOptions {
pub args: Vec<String>,
pub debug: Vec<String>,
pub chdir: String,
pub color_mode: ColorMode,
pub filename: Option<PathBuf>,
pub filename_str: String,
pub keep_going: bool,
pub quiet: bool,
pub root: String,
pub subcommand: Command,
pub variables: Vec<String>,
pub verbose: bool,
}
Fields
args: Vec<String>
debug: Vec<String>
chdir: String
color_mode: ColorMode
filename: Option<PathBuf>
filename_str: String
keep_going: bool
quiet: bool
root: String
subcommand: Command
variables: Vec<String>
verbose: bool
Implementations
Trait Implementations
sourceimpl Clone for CommandOptions
impl Clone for CommandOptions
sourcefn clone(&self) -> CommandOptions
fn clone(&self) -> CommandOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CommandOptions
impl Debug for CommandOptions
sourceimpl Default for CommandOptions
impl Default for CommandOptions
sourcefn default() -> CommandOptions
fn default() -> CommandOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CommandOptions
impl Send for CommandOptions
impl Sync for CommandOptions
impl Unpin for CommandOptions
impl UnwindSafe for CommandOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more