pub struct ExperimentConfig {
pub name: String,
pub max_concurrency: usize,
pub base_url: String,
pub dataset_name: String,
}Expand description
Configuration for running an experiment.
Fields§
§name: StringName of the experiment run.
max_concurrency: usizeMaximum number of concurrent task executions.
base_url: StringBase URL for constructing dataset run URLs.
dataset_name: StringDataset name for constructing dataset run URLs.
Implementations§
Source§impl ExperimentConfig
impl ExperimentConfig
Sourcepub fn dataset_run_url(&self) -> String
pub fn dataset_run_url(&self) -> String
Build the dataset run URL from config fields.
Trait Implementations§
Source§impl Clone for ExperimentConfig
impl Clone for ExperimentConfig
Source§fn clone(&self) -> ExperimentConfig
fn clone(&self) -> ExperimentConfig
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 Debug for ExperimentConfig
impl Debug for ExperimentConfig
Auto Trait Implementations§
impl Freeze for ExperimentConfig
impl RefUnwindSafe for ExperimentConfig
impl Send for ExperimentConfig
impl Sync for ExperimentConfig
impl Unpin for ExperimentConfig
impl UnsafeUnpin for ExperimentConfig
impl UnwindSafe for ExperimentConfig
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