pub enum TestSubCommand {
All,
Unit,
Integration,
}Variants§
Trait Implementations§
Source§impl Clone for TestSubCommand
impl Clone for TestSubCommand
Source§fn clone(&self) -> TestSubCommand
fn clone(&self) -> TestSubCommand
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 Default for TestSubCommand
impl Default for TestSubCommand
Source§fn default() -> TestSubCommand
fn default() -> TestSubCommand
Returns the “default value” for a type. Read more
Source§impl Display for TestSubCommand
impl Display for TestSubCommand
Source§impl FromArgMatches for TestSubCommand
impl FromArgMatches for TestSubCommand
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl FromStr for TestSubCommand
impl FromStr for TestSubCommand
Source§impl IntoEnumIterator for TestSubCommand
impl IntoEnumIterator for TestSubCommand
type Iterator = TestSubCommandIter
fn iter() -> TestSubCommandIter ⓘ
Source§impl PartialEq for TestSubCommand
impl PartialEq for TestSubCommand
Source§impl Subcommand for TestSubCommand
impl Subcommand for TestSubCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandSource§impl TryFrom<&str> for TestSubCommand
impl TryFrom<&str> for TestSubCommand
impl StructuralPartialEq for TestSubCommand
Auto Trait Implementations§
impl Freeze for TestSubCommand
impl RefUnwindSafe for TestSubCommand
impl Send for TestSubCommand
impl Sync for TestSubCommand
impl Unpin for TestSubCommand
impl UnwindSafe for TestSubCommand
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