pub struct Comparison {
pub workload: String,
pub environment: String,
pub ranked: Vec<Ranked>,
pub excluded: Vec<Left>,
}Expand description
One workload in one environment: the eligible backends fastest first by median, then the excluded ones. The environment is part of the answer.
Fields§
§workload: String[Workload::id].
environment: StringEnvironment::comparable_key: this ordering holds here and nowhere else.
ranked: Vec<Ranked>Backends with a number, ascending by p50_ns (ties by name).
excluded: Vec<Left>Backends listed without a number.
Trait Implementations§
Source§impl Clone for Comparison
impl Clone for Comparison
Source§fn clone(&self) -> Comparison
fn clone(&self) -> Comparison
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Comparison
impl Debug for Comparison
impl Eq for Comparison
Source§impl PartialEq for Comparison
impl PartialEq for Comparison
impl StructuralPartialEq for Comparison
Auto Trait Implementations§
impl Freeze for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnsafeUnpin for Comparison
impl UnwindSafe for Comparison
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