pub struct RunCommand {
pub commands: Vec<String>,
pub all: bool,
pub exit_on_error: bool,
pub quit_on_completion: bool,
pub raw: bool,
pub init_only: bool,
pub no_init: bool,
}Fields§
§commands: Vec<String>§all: bool§exit_on_error: bool§quit_on_completion: bool§raw: bool§init_only: bool§no_init: boolTrait Implementations§
Source§impl Args for RunCommand
impl Args for RunCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for RunCommand
impl Clone for RunCommand
Source§fn clone(&self) -> RunCommand
fn clone(&self) -> RunCommand
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 CommandFactory for RunCommand
impl CommandFactory for RunCommand
Source§impl Debug for RunCommand
impl Debug for RunCommand
Source§impl From<ConfigFileStartOptions> for RunCommand
impl From<ConfigFileStartOptions> for RunCommand
Source§fn from(config: ConfigFileStartOptions) -> Self
fn from(config: ConfigFileStartOptions) -> Self
Converts to this type from the input type.
Source§impl From<RunCommand> for ConfigFileStartOptions
impl From<RunCommand> for ConfigFileStartOptions
Source§fn from(args: RunCommand) -> Self
fn from(args: RunCommand) -> Self
Converts to this type from the input type.
Source§impl FromArgMatches for RunCommand
impl FromArgMatches for RunCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for RunCommand
impl Parser for RunCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for RunCommand
impl RefUnwindSafe for RunCommand
impl Send for RunCommand
impl Sync for RunCommand
impl Unpin for RunCommand
impl UnwindSafe for RunCommand
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