pub(crate) struct ExperimentArgs {
pub(crate) experiment: String,
pub(crate) file: Option<PathBuf>,
pub(crate) use_rs: bool,
pub(crate) patch: Option<PathBuf>,
}
Fields§
§experiment: String
The experiment slug, including the server and collection.
file: Option<PathBuf>
An optional file from which to get the experiment.
By default, the file is fetched from the server.
use_rs: bool
Use remote settings to fetch the experiment recipe.
By default, the file is fetched from the v6 api of experimenter.
patch: Option<PathBuf>
An optional patch file, used to patch feature configurations
This is of the format that comes from the
features --multi
or defaults
commands.
Trait Implementations§
source§impl Args for ExperimentArgs
impl Args for ExperimentArgs
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
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 Clone for ExperimentArgs
impl Clone for ExperimentArgs
source§fn clone(&self) -> ExperimentArgs
fn clone(&self) -> ExperimentArgs
Returns a copy 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 Debug for ExperimentArgs
impl Debug for ExperimentArgs
source§impl Default for ExperimentArgs
impl Default for ExperimentArgs
source§fn default() -> ExperimentArgs
fn default() -> ExperimentArgs
Returns the “default value” for a type. Read more
source§impl FromArgMatches for ExperimentArgs
impl FromArgMatches for ExperimentArgs
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 TryFrom<&ExperimentArgs> for ExperimentSource
impl TryFrom<&ExperimentArgs> for ExperimentSource
Auto Trait Implementations§
impl Freeze for ExperimentArgs
impl RefUnwindSafe for ExperimentArgs
impl Send for ExperimentArgs
impl Sync for ExperimentArgs
impl Unpin for ExperimentArgs
impl UnwindSafe for ExperimentArgs
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
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)
🔬This is a nightly-only experimental API. (
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
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more