pub(crate) enum ExperimentListSource {
Empty,
Filtered {
filter: ExperimentListFilter,
inner: Box<ExperimentListSource>,
},
FromApiV6 {
endpoint: String,
},
FromFile {
file: PathBuf,
},
FromRemoteSettings {
endpoint: String,
is_preview: bool,
},
FromRecipes {
recipes: Vec<ExperimentSource>,
},
}
Variants§
Empty
Filtered
FromApiV6
FromFile
FromRemoteSettings
FromRecipes
Fields
§
recipes: Vec<ExperimentSource>
Implementations§
source§impl ExperimentListSource
impl ExperimentListSource
pub(crate) fn print_list(&self) -> Result<bool>
Trait Implementations§
source§impl Clone for ExperimentListSource
impl Clone for ExperimentListSource
source§fn clone(&self) -> ExperimentListSource
fn clone(&self) -> ExperimentListSource
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 ExperimentListSource
impl Debug for ExperimentListSource
source§impl PartialEq for ExperimentListSource
impl PartialEq for ExperimentListSource
source§impl TryFrom<&Cli> for ExperimentListSource
impl TryFrom<&Cli> for ExperimentListSource
source§impl TryFrom<&ExperimentListArgs> for ExperimentListSource
impl TryFrom<&ExperimentListArgs> for ExperimentListSource
source§impl TryFrom<&ExperimentListSource> for Value
impl TryFrom<&ExperimentListSource> for Value
source§impl TryFrom<&Path> for ExperimentListSource
impl TryFrom<&Path> for ExperimentListSource
impl StructuralPartialEq for ExperimentListSource
Auto Trait Implementations§
impl Freeze for ExperimentListSource
impl RefUnwindSafe for ExperimentListSource
impl Send for ExperimentListSource
impl Sync for ExperimentListSource
impl Unpin for ExperimentListSource
impl UnwindSafe for ExperimentListSource
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