pub struct BenchmarkConfig {
pub name: String,
pub num_queries: usize,
pub difficulty: DifficultyLevel,
pub domain: BenchmarkDomain,
pub metrics: Vec<String>,
}Expand description
Configuration for benchmarks
Fields§
§name: StringBenchmark name
num_queries: usizeNumber of test queries
difficulty: DifficultyLevelDifficulty level
domain: BenchmarkDomainDomain focus
metrics: Vec<String>Evaluation metrics
Trait Implementations§
Source§impl Clone for BenchmarkConfig
impl Clone for BenchmarkConfig
Source§fn clone(&self) -> BenchmarkConfig
fn clone(&self) -> BenchmarkConfig
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 moreAuto Trait Implementations§
impl Freeze for BenchmarkConfig
impl RefUnwindSafe for BenchmarkConfig
impl Send for BenchmarkConfig
impl Sync for BenchmarkConfig
impl Unpin for BenchmarkConfig
impl UnwindSafe for BenchmarkConfig
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