pub struct Exec {
pub command: Option<CommandSet>,
}Fields§
§command: Option<CommandSet>Trait Implementations§
Source§impl Args for Exec
impl Args for Exec
Source§fn augment_args(cmd: Command) -> Command
fn augment_args(cmd: Command) -> Command
Source§fn augment_args_for_update(cmd: Command) -> Command
fn augment_args_for_update(cmd: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for Exec
impl FromArgMatches for Exec
Source§fn from_arg_matches(matches: &ArgMatches) -> Result<Self>
fn from_arg_matches(matches: &ArgMatches) -> Result<Self>
Source§fn update_from_arg_matches(&mut self, matches: &ArgMatches) -> Result<()>
fn update_from_arg_matches(&mut self, matches: &ArgMatches) -> Result<()>
Assign values from
ArgMatches to self.Source§fn from_arg_matches_mut(matches: &mut ArgMatches) -> Result<Self, Error>
fn from_arg_matches_mut(matches: &mut ArgMatches) -> Result<Self, Error>
Source§fn update_from_arg_matches_mut(
&mut self,
matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for Exec
impl RefUnwindSafe for Exec
impl Send for Exec
impl Sync for Exec
impl Unpin for Exec
impl UnwindSafe for Exec
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