pub(crate) struct OpenArgs {
pub(crate) deeplink: Option<String>,
pub(crate) reset_app: bool,
pub(crate) pbcopy: bool,
pub(crate) pbpaste: bool,
pub(crate) passthrough: Vec<String>,
pub(crate) output: Option<PathBuf>,
}
Fields§
§deeplink: Option<String>
Optional deeplink. If present, launch with this link.
reset_app: bool
Resets the app back to its initial state before launching
pbcopy: bool
Instead of opening via adb or xcrun simctl, construct a deeplink and put it into the pastebuffer.
If present, then the app is not launched, so this option does not work with
--reset-app
or passthrough arguments.
pbpaste: bool
Instead of opening via adb or xcrun simctl, construct a deeplink and put it into the pastebuffer.
If present, then the app is not launched, so this option does not work with
--reset-app
or passthrough arguments.
passthrough: Vec<String>
Optionally, add platform specific arguments to the adb or xcrun command.
By default, arguments are added to the end of the command, likely to be passed directly to the app.
Arguments before a special placeholder {}
are passed to
adb am start
or xcrun simctl launch
commands directly.
output: Option<PathBuf>
An optional file to dump experiments into.
If present, then the app is not launched, so this option does not work with
--reset-app
or passthrough arguments.
Trait Implementations§
source§impl Args for OpenArgs
impl Args for OpenArgs
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§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
source§impl From<OpenArgs> for AppOpenArgs
impl From<OpenArgs> for AppOpenArgs
source§impl FromArgMatches for OpenArgs
impl FromArgMatches for OpenArgs
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>
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>
ArgMatches
to self
.Auto Trait Implementations§
impl Freeze for OpenArgs
impl RefUnwindSafe for OpenArgs
impl Send for OpenArgs
impl Sync for OpenArgs
impl Unpin for OpenArgs
impl UnwindSafe for OpenArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Arc<>
Read more