pub struct BenchRequest {
pub aql: Option<AqlDef>,
pub path: Option<String>,
pub baselines: Vec<BaselineDef>,
pub config: Option<String>,
}Expand description
Input for a single bench run. Shims construct this from their input format.
Fields§
§aql: Option<AqlDef>Explicit AQL operation. Mutually exclusive with config.
path: Option<String>Explicit path for the AQL op (required for NavSelect, optional for others).
baselines: Vec<BaselineDef>Inline baselines to compare against. If empty and aql is set, auto-adds Cat on path.
config: Option<String>Path to .config/aql.bench relative to project root. Mutually exclusive with aql.
Trait Implementations§
Source§impl Clone for BenchRequest
impl Clone for BenchRequest
Source§fn clone(&self) -> BenchRequest
fn clone(&self) -> BenchRequest
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 BenchRequest
impl RefUnwindSafe for BenchRequest
impl Send for BenchRequest
impl Sync for BenchRequest
impl Unpin for BenchRequest
impl UnsafeUnpin for BenchRequest
impl UnwindSafe for BenchRequest
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more