pub struct TestCommand {
pub debug: bool,
pub filter: Option<String>,
pub watch: bool,
pub no_build: bool,
pub features: Option<String>,
}Fields§
§debug: boolBuild with debug symbols before testing
filter: Option<String>Only run tests whose name matches PATTERN
watch: boolWatch src/ for changes and re-run tests automatically
no_build: boolSkip the build step (use existing binary)
features: Option<String>Cargo features to enable (comma-separated or repeated)
Trait Implementations§
Source§impl Args for TestCommand
impl Args for TestCommand
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 Debug for TestCommand
impl Debug for TestCommand
Source§impl Default for TestCommand
impl Default for TestCommand
Source§fn default() -> TestCommand
fn default() -> TestCommand
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for TestCommand
impl FromArgMatches for TestCommand
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.Auto Trait Implementations§
impl Freeze for TestCommand
impl RefUnwindSafe for TestCommand
impl Send for TestCommand
impl Sync for TestCommand
impl Unpin for TestCommand
impl UnsafeUnpin for TestCommand
impl UnwindSafe for TestCommand
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